WorkspaceServiceHelper.GetProjectConfigurationServiceAsync(IWorkspace) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回 IProjectConfigurationManager 服務
public:
[System::Runtime::CompilerServices::Extension]
static System::Threading::Tasks::Task<Microsoft::VisualStudio::Workspace::Debug::IProjectConfigurationService ^> ^ GetProjectConfigurationServiceAsync(Microsoft::VisualStudio::Workspace::IWorkspace ^ workspace);
public static System.Threading.Tasks.Task<Microsoft.VisualStudio.Workspace.Debug.IProjectConfigurationService> GetProjectConfigurationServiceAsync (this Microsoft.VisualStudio.Workspace.IWorkspace workspace);
public static System.Threading.Tasks.Task<Microsoft.VisualStudio.Workspace.Debug.IProjectConfigurationService?> GetProjectConfigurationServiceAsync (this Microsoft.VisualStudio.Workspace.IWorkspace workspace);
static member GetProjectConfigurationServiceAsync : Microsoft.VisualStudio.Workspace.IWorkspace -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Workspace.Debug.IProjectConfigurationService>
<Extension()>
Public Function GetProjectConfigurationServiceAsync (workspace As IWorkspace) As Task(Of IProjectConfigurationService)
參數
- workspace
- IWorkspace
工作區實例
傳回
找不到 IProjectConfigurationManager 的實例或 Null