WorkspaceServiceHelper.GetProjectConfigurationServiceAsync(IWorkspace) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Return the IProjectConfigurationManager service
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)
Parameters
- workspace
- IWorkspace
workspace instance
Returns
Instance of an IProjectConfigurationManager or null if not found