Show / Hide Table of Contents

    Class ErrorEventArgs

    Provides data for the Error event.

    Inheritance
    System.Object
    System.EventArgs
    ErrorEventArgs
    Inherited Members
    System.EventArgs.Empty
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Bayat.Json.Serialization
    Assembly: Bayat.Json.Runtime.dll
    Syntax
    public class ErrorEventArgs : EventArgs

    Constructors

    | Improve this Doc View Source

    ErrorEventArgs(Object, ErrorContext)

    Initializes a new instance of the ErrorEventArgs class.

    Declaration
    public ErrorEventArgs(object currentObject, ErrorContext errorContext)
    Parameters
    Type Name Description
    System.Object currentObject

    The current object.

    ErrorContext errorContext

    The error context.

    Properties

    | Improve this Doc View Source

    CurrentObject

    Gets the current object the error event is being raised against.

    Declaration
    public object CurrentObject { get; }
    Property Value
    Type Description
    System.Object

    The current object the error event is being raised against.

    | Improve this Doc View Source

    ErrorContext

    Gets the error context.

    Declaration
    public ErrorContext ErrorContext { get; }
    Property Value
    Type Description
    ErrorContext

    The error context.

    • Improve this Doc
    • View Source
    • 0 Comments