Function
Returns error information when an error occurs.
Format
dncReadFile1_OnError(object sender, DncErrorEventArgs e)
Parameters
sender [ C#: object ] [ VB.NET: object ]
The event source.
e [ C#: DncErrorEventArgs ] [ VB.NET: DncErrorEventArgs ]
Event arguments. Details are shown below.
Event argument
| Arguments | C# Type | VB.NET Type | Description | 
| Error | int | Integer | Indicates the error code. (Refer to: Error code details) | 
| ErrorCategory | int | Integer | Returns the category in which the error occurred (component/driver information). See About Error Events for details. | 
| ErrorType | int | Integer | Returns the type of error (method/property/event, etc.). See About Error Events for details. | 
| Param | int | Integer | Returns the arguments defined by ErrorCategory/ErrorType. See About Error Events for details. | 
Remarks
This event is used to acquire error information when an error occurs.