Share via


IVsDataAsyncCommand.CancelAsync Method

When implemented by a class, cancels the asynchronous call, returning immediately.

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

Syntax

'Declaration
Sub CancelAsync ( _
    userState As Object _
)
void CancelAsync(
    Object userState
)
void CancelAsync(
    Object^ userState
)
abstract CancelAsync : 
        userState:Object -> unit
function CancelAsync(
    userState : Object
)

Parameters

  • userState
    Type: System.Object

    A unique operation ID for the operation to cancel.

.NET Framework Security

See Also

Reference

IVsDataAsyncCommand Interface

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace