共用方式為


IVsAppContainerBootstrapper3.BootstrapForDebuggingAsync Method

Definition

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

public:
 Microsoft::VisualStudio::Shell::Interop::IVsTask ^ BootstrapForDebuggingAsync(System::String ^ projectUniqueName, System::String ^ target, System::String ^ recipePath, Microsoft::VisualStudio::Shell::Interop::IVsAppContainerBootstrapperLogger ^ logger);
public:
 Microsoft::VisualStudio::Shell::Interop::IVsTask ^ BootstrapForDebuggingAsync(Platform::String ^ projectUniqueName, Platform::String ^ target, Platform::String ^ recipePath, Microsoft::VisualStudio::Shell::Interop::IVsAppContainerBootstrapperLogger ^ logger);
Microsoft::VisualStudio::Shell::Interop::IVsTask BootstrapForDebuggingAsync(std::wstring const & projectUniqueName, std::wstring const & target, std::wstring const & recipePath, Microsoft::VisualStudio::Shell::Interop::IVsAppContainerBootstrapperLogger const & logger);
public Microsoft.VisualStudio.Shell.Interop.IVsTask BootstrapForDebuggingAsync (string projectUniqueName, string target, string recipePath, Microsoft.VisualStudio.Shell.Interop.IVsAppContainerBootstrapperLogger logger);
abstract member BootstrapForDebuggingAsync : string * string * string * Microsoft.VisualStudio.Shell.Interop.IVsAppContainerBootstrapperLogger -> Microsoft.VisualStudio.Shell.Interop.IVsTask
Public Function BootstrapForDebuggingAsync (projectUniqueName As String, target As String, recipePath As String, logger As IVsAppContainerBootstrapperLogger) As IVsTask

Parameters

projectUniqueName
String

The name of the project.

target
String

The target.

recipePath
String

The path of the recipe.

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