OnError


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).
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 parameters defined by ErrorCategory/ErrorType.
See About Error Events for details.

 

Remarks

This event is used to acquire error information when an error occurs.