IVsAppContainerBootstrapper3.BootstrapForDebuggingAsync 方法

定义

异步引导给定的目标和已建立的调试程序主机,用于调试食谱表示的应用程序。

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

参数

projectUniqueName
String

项目的名称。

target
String

目标。

recipePath
String

食谱的路径。

logger
IVsAppContainerBootstrapperLogger

用于接收输出消息的可选回调。

返回

IVsTask

其结果为 IVsAppContainerBootstrapperResult 实例的 IVsTask 或错误代码。 如果在主线程上调用,并且建议的回调中止了操作,则会 E_ABORT;否则 S_OK。

适用于