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
- 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.