Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ServiceProvider.GlobalProvider Property

Definition

Namespace:
Microsoft.VisualStudio.Shell
Assembly:
Microsoft.VisualStudio.Shell.14.0.dll
Assembly:
Microsoft.VisualStudio.Shell.15.0.dll
Assemblies:
Microsoft.VisualStudio.Shell.15.0.dll, Microsoft.VisualStudio.Shell.Framework.dll
Assembly:
Microsoft.VisualStudio.Shell.Framework.dll
Package:
Microsoft.VisualStudio.Shell.Framework v17.14.40264

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

This property is safe to access from any thread.

Applies to