Share via


DataAsyncCommand.CancelAsync Method

Cancels the asynchronous call, returning immediately.

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

Syntax

'Declaration
Public Sub CancelAsync ( _
    userState As Object _
)
public void CancelAsync(
    Object userState
)
public:
virtual void CancelAsync(
    Object^ userState
) sealed
abstract CancelAsync : 
        userState:Object -> unit 
override CancelAsync : 
        userState:Object -> unit 
public final function CancelAsync(
    userState : Object
)

Parameters

  • userState
    Type: System.Object
    A unique operation ID for the operation to cancel.

Implements

IVsDataAsyncCommand.CancelAsync(Object)

.NET Framework Security

See Also

Reference

DataAsyncCommand Class

Microsoft.VisualStudio.Data.Framework Namespace