Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ServiceProvider::GlobalProvider Property

Gets the global service provider for the calling thread.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
static property ServiceProvider^ GlobalProvider {
	ServiceProvider^ get ();

Property Value

Type: Microsoft.VisualStudio.Shell::ServiceProvider
The global service provider.

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.