Compartir a través de


IVsAppContainerBootstrapper2.BootstrapAsync Method

Asynchronously bootstraps the given target

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.12.1.DesignTime (in Microsoft.VisualStudio.Shell.Interop.12.1.DesignTime.dll)

Syntax

'Declaration
Function BootstrapAsync ( _
    projectUniqueName As String, _
    target As String, _
    cItems As Integer, _
    packagesToDownload As String(), _
    logger As IVsAppContainerBootstrapperLogger _
) As IVsTask
IVsTask BootstrapAsync(
    string projectUniqueName,
    string target,
    int cItems,
    string[] packagesToDownload,
    IVsAppContainerBootstrapperLogger logger
)
IVsTask^ BootstrapAsync(
    [InAttribute] String^ projectUniqueName, 
    [InAttribute] String^ target, 
    [InAttribute] int cItems, 
    [InAttribute] array<String^>^ packagesToDownload, 
    [InAttribute] IVsAppContainerBootstrapperLogger^ logger
)
abstract BootstrapAsync : 
        projectUniqueName:string * 
        target:string * 
        cItems:int * 
        packagesToDownload:string[] * 
        logger:IVsAppContainerBootstrapperLogger -> IVsTask
function BootstrapAsync(
    projectUniqueName : String, 
    target : String, 
    cItems : int, 
    packagesToDownload : String[], 
    logger : IVsAppContainerBootstrapperLogger
) : IVsTask

Parameters

  • projectUniqueName
    Type: String

    The name of the project.

  • target
    Type: String

    The target.

  • cItems
    Type: Int32

    The items.

  • packagesToDownload
    Type: array<String[]

    The packages to download.

Return Value

Type: Microsoft.VisualStudio.Shell.Interop.IVsTask
An IVsTask whose result is an instance of IVsAppContainerBootstrapperResult, or an error code. This is E_ABORT if called on the main thread and an advised callback has aborted the operation; otherwise S_OK.

.NET Framework Security

See Also

Reference

IVsAppContainerBootstrapper2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace