Share via


DataAsyncCommandEvents.CommandFailure Property

Retrieves or sets the delegate that is called when an asynchronous command has a failure.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Public Property CommandFailure As DataAsyncCommandFailureEventHandler
public DataAsyncCommandFailureEventHandler CommandFailure { get; set; }
public:
property DataAsyncCommandFailureEventHandler^ CommandFailure {
    DataAsyncCommandFailureEventHandler^ get ();
    void set (DataAsyncCommandFailureEventHandler^ value);
}
member CommandFailure : DataAsyncCommandFailureEventHandler with get, set
function get CommandFailure () : DataAsyncCommandFailureEventHandler 
function set CommandFailure (value : DataAsyncCommandFailureEventHandler)

Property Value

Type: Microsoft.VisualStudio.Data.DataAsyncCommandFailureEventHandler
Returns a delegate for the CommandFailure event handler.

.NET Framework Security

See Also

Reference

DataAsyncCommandEvents Class

Microsoft.VisualStudio.Data Namespace

DataAsyncCommandFailureEventHandler