Share via


DataAsyncCommandEvents.CommandCancel Property

Retrieves or sets the delegate that is called when an asynchronous command is canceled.

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

Syntax

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

Property Value

Type: Microsoft.VisualStudio.Data.DataAsyncCommandCancelEventHandler
Returns a delegate for the CommandCancel event handler.

.NET Framework Security

See Also

Reference

DataAsyncCommandEvents Class

Microsoft.VisualStudio.Data Namespace

DataAsyncCommandCancelEventHandler