Initializes a new instance of the ErrorEventArgs class.
| C# | Visual Basic | Visual C++ |
public ErrorEventArgs( Object currentObject, ErrorContext errorContext )
Public Sub New ( _ currentObject As Object, _ errorContext As ErrorContext _ )
public: ErrorEventArgs( Object^ currentObject, ErrorContext^ errorContext )
- currentObject (Object)
- The current object.
- errorContext (ErrorContext)
- The error context.