ServiceProvider.GlobalProvider Property
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.
Gets the global service provider for the calling thread.
public:
static property Microsoft::VisualStudio::Shell::ServiceProvider ^ GlobalProvider { Microsoft::VisualStudio::Shell::ServiceProvider ^ get(); };
public static Microsoft.VisualStudio.Shell.ServiceProvider GlobalProvider { get; }
static member GlobalProvider : Microsoft.VisualStudio.Shell.ServiceProvider
Public Shared ReadOnly Property GlobalProvider As ServiceProvider
Property Value
The global service provider.
Remarks
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. If no suitable service provider can be found on the calling thread, then a new, empty ServiceProvider is returned.