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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.