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.ObjectA unique operation ID for the operation to cancel.
.NET Framework Security
- 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