Share via


IVsAppContainerBootstrapper3.BootstrapForDiagnosticsAsync Method

Definition

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

public:
 Microsoft::VisualStudio::Shell::Interop::IVsTask ^ BootstrapForDiagnosticsAsync(System::String ^ projectUniqueName, System::String ^ target, int cItems, cli::array <System::String ^> ^ packagesToDownload, Microsoft::VisualStudio::Shell::Interop::IVsAppContainerBootstrapperLogger ^ logger);
public:
 Microsoft::VisualStudio::Shell::Interop::IVsTask ^ BootstrapForDiagnosticsAsync(Platform::String ^ projectUniqueName, Platform::String ^ target, int cItems, Platform::Array <Platform::String ^> ^ packagesToDownload, Microsoft::VisualStudio::Shell::Interop::IVsAppContainerBootstrapperLogger ^ logger);
Microsoft::VisualStudio::Shell::Interop::IVsTask BootstrapForDiagnosticsAsync(std::wstring const & projectUniqueName, std::wstring const & target, int cItems, std::Array <std::wstring const &> const & packagesToDownload, Microsoft::VisualStudio::Shell::Interop::IVsAppContainerBootstrapperLogger const & logger);
public Microsoft.VisualStudio.Shell.Interop.IVsTask BootstrapForDiagnosticsAsync (string projectUniqueName, string target, int cItems, string[] packagesToDownload, Microsoft.VisualStudio.Shell.Interop.IVsAppContainerBootstrapperLogger logger);
abstract member BootstrapForDiagnosticsAsync : string * string * int * string[] * Microsoft.VisualStudio.Shell.Interop.IVsAppContainerBootstrapperLogger -> Microsoft.VisualStudio.Shell.Interop.IVsTask
Public Function BootstrapForDiagnosticsAsync (projectUniqueName As String, target As String, cItems As Integer, packagesToDownload As String(), logger As IVsAppContainerBootstrapperLogger) As IVsTask

Parameters

projectUniqueName
String

The name of the project.

target
String

The target.

cItems
Int32

The items.

packagesToDownload
String[]

The packages to download.

logger
IVsAppContainerBootstrapperLogger

An optional callback to receive output messages.

Returns

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.

Remarks

This method is safe to access from any thread.

Applies to