Class ErrorEventArgs
- Namespace
- Newtonsoft.Json.Serialization
- Assembly
- Newtonsoft.Json.dll
Provides data for the Error event.
public class ErrorEventArgs : EventArgs
- Inheritance
-
ErrorEventArgs
- Inherited Members
Constructors
ErrorEventArgs(object, ErrorContext)
Initializes a new instance of the ErrorEventArgs class.
public ErrorEventArgs(object currentObject, ErrorContext errorContext)
Parameters
currentObject
objectThe current object.
errorContext
ErrorContextThe error context.
Properties
CurrentObject
Gets the current object the error event is being raised against.
public object CurrentObject { get; }
Property Value
- object
The current object the error event is being raised against.
ErrorContext
Gets the error context.
public ErrorContext ErrorContext { get; }
Property Value
- ErrorContext
The error context.