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

'宣言
Protected Overridable Sub OnCancel ( _
    userState As Object _
)
'使用
Dim userState As Object

Me.OnCancel(userState)
protected virtual void OnCancel(
    Object userState
)
protected:
virtual void OnCancel(
    Object^ userState
)
protected function OnCancel(
    userState : Object
)

Parameters

  • userState
    Type: System.Object

    The unique identifier of an asynchronous operation to cancel.

Permissions

See Also

Reference

DataAsyncCommand Class

DataAsyncCommand Members

Microsoft.VisualStudio.Data.Framework Namespace