Cancels the asynchronous call, returning immediately.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'宣言
Public Sub CancelAsync ( _
userState As Object _
)
'使用
Dim instance As DataAsyncCommand
Dim userState As Object
instance.CancelAsync(userState)
public void CancelAsync(
Object userState
)
public:
virtual void CancelAsync(
Object^ userState
) sealed
public final function CancelAsync(
userState : Object
)
Parameters
userState
Type: System.ObjectA unique operation ID for the operation to cancel.
Implements
IVsDataAsyncCommand.CancelAsync(Object)
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.