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 _
)

Dim instance As New DataAsyncCommandFailureEventHandler(AddressOf HandlerMethod)
public delegate void DataAsyncCommandFailureEventHandler(
    Exception e,
    bool nonFatal
)
public delegate void DataAsyncCommandFailureEventHandler(
    Exception^ e, 
    bool nonFatal
)
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.

See Also

Reference

Microsoft.VisualStudio.Data Namespace