mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 19:25:01 +00:00
0804a404c7
- New event that is raised when an exception occurs during converting a response to JSON - Test cleanup - New unit test to validate IEventProxy has been removed from ConcurrentDictionary Resolves #3787
44 lines
1.2 KiB
C#
44 lines
1.2 KiB
C#
// Copyright © 2021 The CefSharp Authors. All rights reserved.
|
|
//
|
|
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
|
|
|
|
using System;
|
|
|
|
namespace CefSharp.DevTools
|
|
{
|
|
/// <summary>
|
|
/// DevToolsErrorEventArgs - Raised when an exception occurs when
|
|
/// attempting to raise <see cref="IDevToolsClient.DevToolsEvent"/>
|
|
/// </summary>
|
|
public class DevToolsErrorEventArgs : EventArgs
|
|
{
|
|
/// <summary>
|
|
/// Event Name
|
|
/// </summary>
|
|
public string EventName { get; private set; }
|
|
|
|
/// <summary>
|
|
/// Json
|
|
/// </summary>
|
|
public string Json { get; private set; }
|
|
|
|
/// <summary>
|
|
/// Exception
|
|
/// </summary>
|
|
public Exception Exception { get; private set; }
|
|
|
|
/// <summary>
|
|
/// DevToolsErrorEventArgs
|
|
/// </summary>
|
|
/// <param name="eventName">Event Name</param>
|
|
/// <param name="json">json</param>
|
|
/// <param name="ex">Exception</param>
|
|
public DevToolsErrorEventArgs(string eventName, string json, Exception ex)
|
|
{
|
|
EventName = eventName;
|
|
Json = json;
|
|
Exception = ex;
|
|
}
|
|
}
|
|
}
|