Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Dispatches the asynchronous cancel operation to the appropriate synchronous method.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Protected Overridable Sub OnCancel ( _
userState As Object _
)
protected virtual void OnCancel(
Object userState
)
protected:
virtual void OnCancel(
Object^ userState
)
abstract OnCancel :
userState:Object -> unit
override OnCancel :
userState:Object -> unit
protected function OnCancel(
userState : Object
)
Parameters
- userState
Type: System.Object
The unique identifier of an asynchronous 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.