DataAsyncCommandFailureEventHandler Delegate
Represents the method that is called when an asynchronous command fails.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
‘선언
Public Delegate Sub DataAsyncCommandFailureEventHandler ( _
e As Exception, _
nonFatal As Boolean _
)
public delegate void DataAsyncCommandFailureEventHandler(
Exception e,
bool nonFatal
)
public delegate void DataAsyncCommandFailureEventHandler(
Exception^ e,
bool nonFatal
)
type DataAsyncCommandFailureEventHandler =
delegate of
e:Exception *
nonFatal:bool -> unit
JScript does not support delegates.
Parameters
- e
Type: System.Exception
The exception that occurs to cause the command failure.
- nonFatal
Type: System.Boolean
An indication if the failure is non-fatal; that is, that the command continues to run after this method returns.
Remarks
This delegate is called when an asynchronous method call is made to a DataAsyncCommand object and a failure occurs.