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
Sub CancelAsync ( _
userState As Object _
)
Dim instance As IVsDataAsyncCommand
Dim userState As Object
instance.CancelAsync(userState)
void CancelAsync(
Object userState
)
void CancelAsync(
Object^ userState
)
function CancelAsync(
userState : Object
)
Parameters
userState
Type: System.ObjectA unique operation ID for the operation to cancel.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Data.Services.SupportEntities Namespace