Condividi tramite


Proprietà ServiceProvider.GlobalProvider

Ottiene il provider di servizi globale per il thread chiamante.

Spazio dei nomi:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Sintassi

'Dichiarazione
Public Shared ReadOnly Property GlobalProvider As ServiceProvider
public static ServiceProvider GlobalProvider { get; }

Valore proprietà

Tipo: Microsoft.VisualStudio.Shell.ServiceProvider
Il provider di servizi globale.

Note

The global service provider is set by calling CreateFromSetSite.If this method has not been called, an attempt is made to retrieve the a service provider from the OLE message filter.Se nessun provider di servizi appropriato è disponibile nel thread chiamante, è nuovo, ServiceProvider vuoto viene restituito.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

ServiceProvider Classe

Spazio dei nomi Microsoft.VisualStudio.Shell