IVsExtensionManager.InstallAsyncCancel Method

Cancels a pending asynchronous installation operation.

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

void InstallAsyncCancel(
	Object userState
)

Parameters

userState
Type: System.Object
A task ID that denotes which installation should be canceled.

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.

Community Additions

ADD
Show: