IVsExtensionManager.InstallAsyncCancel Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Cancels a pending asynchronous installation operation.
Namespace: Microsoft.VisualStudio.ExtensionManager
Assembly: Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)
Syntax
'Declaration
Sub InstallAsyncCancel ( _
userState As Object _
)
void InstallAsyncCancel(
Object userState
)
void InstallAsyncCancel(
Object^ userState
)
abstract InstallAsyncCancel :
userState:Object -> unit
function InstallAsyncCancel(
userState : Object
)
Parameters
userState
Type: System.ObjectA task ID that denotes which installation should be canceled.
Remarks
Although this API supports the Extension Manager infrastructure, we recommend that you do not use it because it is subject to change.
The userState parameter is obtained from the InstallAsync call that is to be canceled.
.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.