WorkspaceServiceHelper.GetProjectConfigurationServiceAsync(IWorkspace) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourner le service 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)
Paramètres
- workspace
- IWorkspace
espace de travail instance
Retours
Instance d’un IProjectConfigurationManager ou null si introuvable