ErrorEventArgs public class ErrorEventArgs : EventArgs Provides data for the Error event. Documentation public object CurrentObject { get; } Gets the current object the error event is being raised against. public ErrorContext ErrorContext { get; } Gets the error context. public ErrorEventArgs(object currentObject, ErrorContext errorContext) Initializes a new instance of the ErrorEventArgs class.