Share via


DataAsyncCommand.OnCancel Method

Dispatches the asynchronous cancel operation to the appropriate synchronous method.

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

Syntax

'Declaration
Protected Overridable Sub OnCancel ( _
    userState As Object _
)
protected virtual void OnCancel(
    Object userState
)
protected:
virtual void OnCancel(
    Object^ userState
)
abstract OnCancel : 
        userState:Object -> unit  
override OnCancel : 
        userState:Object -> unit
protected function OnCancel(
    userState : Object
)

Parameters

  • userState
    Type: System.Object

    The unique identifier of an asynchronous operation to cancel.

.NET Framework Security

See Also

Reference

DataAsyncCommand Class

Microsoft.VisualStudio.Data.Framework Namespace