Share via


IVsAppContainerBootstrapper2.BootstrapAsync Method

Definition

Asynchronously bootstraps the given target

public:
 Microsoft::VisualStudio::Shell::Interop::IVsTask ^ BootstrapAsync(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 ^ BootstrapAsync(Platform::String ^ projectUniqueName, Platform::String ^ target, int cItems, Platform::Array <Platform::String ^> ^ packagesToDownload, Microsoft::VisualStudio::Shell::Interop::IVsAppContainerBootstrapperLogger ^ logger);
Microsoft::VisualStudio::Shell::Interop::IVsTask BootstrapAsync(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 BootstrapAsync (string projectUniqueName, string target, int cItems, string[] packagesToDownload, Microsoft.VisualStudio.Shell.Interop.IVsAppContainerBootstrapperLogger logger);
abstract member BootstrapAsync : string * string * int * string[] * Microsoft.VisualStudio.Shell.Interop.IVsAppContainerBootstrapperLogger -> Microsoft.VisualStudio.Shell.Interop.IVsTask
Public Function BootstrapAsync (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