Freigeben über


IVsDataAsyncCommand.CancelAsync-Methode

Wenn Sie von einer Klasse, Löschen der asynchrone Aufruf implementiert und sofort zurückgeben.

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
)

Parameter

  • userState
    Typ: Object

    Eine eindeutige ID Vorgang, sodass der Vorgang abgebrochen wird.

.NET Framework-Sicherheit

Siehe auch

Referenz

IVsDataAsyncCommand Schnittstelle

Microsoft.VisualStudio.Data.Services.SupportEntities-Namespace