Files
cefsharp/CefSharp.Core/DevTools/DevToolsErrorEventArgs.cs
Alex Maitland fb779a5b46 Core - Move DevTools Client from CefSharp.dll to CefSharp.Core.dll
- Moves the Dependency of System.Text.Json from CefSharp.dll
  BrowserSubProcess as a result no longer has a reference
  where wasn't required for it's operation.

Resolves #4428 #4427
2023-03-14 14:05:48 +10:00

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;
}
}
}