Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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: 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.