Partager via


IVsExtensionManager.InstallAsync Method (IInstallableExtension, Boolean)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Asynchronously installs an extension to the ExtensionsRoot directory. Installations that are invoked by using this method cannot be canceled.

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

Syntax

'Declaration
Sub InstallAsync ( _
    extension As IInstallableExtension, _
    perMachine As Boolean _
)
void InstallAsync(
    IInstallableExtension extension,
    bool perMachine
)
void InstallAsync(
    IInstallableExtension^ extension, 
    bool perMachine
)
abstract InstallAsync : 
        extension:IInstallableExtension * 
        perMachine:bool -> unit
function InstallAsync(
    extension : IInstallableExtension, 
    perMachine : boolean
)

Parameters

  • perMachine
    Type: System.Boolean

    Specifies whether an extension should be installed on a per-computer basis or only for the current user.

Remarks

Although this API supports the Extension Manager infrastructure, we recommend that you do not use it because it is subject to change.

.NET Framework Security

See Also

Reference

IVsExtensionManager Interface

InstallAsync Overload

Microsoft.VisualStudio.ExtensionManager Namespace