Function
Occurs when an error occurs.
Format
dncVolume1_OnError(object sender, DncErrorEventArgs e)
Parameters
sender [ C#: object ] [ VB.NET:
object ]
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.(See also: Error code details) |
ErrorCategory |
int |
Integer |
Returns the
category in which the error occurred (component/driver information). |
ErrorType |
int |
Integer |
Returns the
type of error (method/property/event, etc.). |
Param |
int |
Integer |
Returns the
parameters defined by ErrorCategory/ErrorType. |
Remarks
This event is used to acquire error information when an error occurs.