GlobalServiceProvider Class
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.
Provides the "global service provider" for Visual Studio components.
public class GlobalServiceProvider : IDisposable
type GlobalServiceProvider = class
interface IDisposable
Public Class GlobalServiceProvider
Implements IDisposable
- Inheritance
-
GlobalServiceProvider
- Implements
This type manages the adding of services to the global service provider. The service provider itself is exposed to test and product code via the GlobalProvider static property.
Global |
Initializes a new instance of the GlobalServiceProvider class. |
Add |
Microsoft.VisualStudio.Sdk.TestFramework.GlobalServiceProvider.OleServiceProviderMock.AddService(System.Type,System.Object) |
Dispose() |
Disposes of any dedicated resources for VS mocks. |
Dispose(Boolean) |
Disposes of managed and native resources. |
Reset() | Microsoft.VisualStudio.Sdk.TestFramework.GlobalServiceProvider.OleServiceProviderMock.Reset |
Produkto | Mga Bersyon |
---|---|
Visual Studio SDK Test Framework | 17.6 |