Partager via


IVsExtensionManager.InstallAsyncCancel Method

Cancels a pending asynchronous installation operation.

Namespace:  Microsoft.VisualStudio.ExtensionManager
Assembly:  Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)

Syntax

'Déclaration
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.Object
    A 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

See Also

Reference

IVsExtensionManager Interface

Microsoft.VisualStudio.ExtensionManager Namespace