Compartir a través de


IVsAppContainerBootstrapper2.BootstrapForDiagnosticsAsync Method

Asynchronously bootstraps given target and established diagnostics host for debugging the app represented by the recipe.

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 BootstrapForDiagnosticsAsync ( _
    projectUniqueName As String, _
    target As String, _
    cItems As Integer, _
    packagesToDownload As String(), _
    logger As IVsAppContainerBootstrapperLogger _
) As IVsTask
IVsTask BootstrapForDiagnosticsAsync(
    string projectUniqueName,
    string target,
    int cItems,
    string[] packagesToDownload,
    IVsAppContainerBootstrapperLogger logger
)
IVsTask^ BootstrapForDiagnosticsAsync(
    [InAttribute] String^ projectUniqueName, 
    [InAttribute] String^ target, 
    [InAttribute] int cItems, 
    [InAttribute] array<String^>^ packagesToDownload, 
    [InAttribute] IVsAppContainerBootstrapperLogger^ logger
)
abstract BootstrapForDiagnosticsAsync : 
        projectUniqueName:string * 
        target:string * 
        cItems:int * 
        packagesToDownload:string[] * 
        logger:IVsAppContainerBootstrapperLogger -> IVsTask
function BootstrapForDiagnosticsAsync(
    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