ServiceProvider 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 an object that can proffer services using both the managed and unmanaged IServiceProvider interfaces.
public ref class ServiceProvider : IServiceProvider, Microsoft::VisualStudio::OLE::Interop::IServiceProvider
[System.Runtime.InteropServices.ComVisible(true)]
public class ServiceProvider : IServiceProvider, Microsoft.VisualStudio.OLE.Interop.IServiceProvider
[<System.Runtime.InteropServices.ComVisible(true)>]
type ServiceProvider = class
interface IServiceProvider
interface IServiceProvider
Public Class ServiceProvider
Implements IServiceProvider, IServiceProvider
- Inheritance
-
ServiceProvider
- Derived
- Attributes
- Implements
Service |
Class constructor for a managed service provider (IServiceProvider) that is accessible through the unmanaged IServiceProvider interface. |
Service |
Class constructor for wrapping an unmanaged IServiceProvider interface that is accessible through the managed IServiceProvider interface. |
Service |
Retrieves a list of service types used to convert the unmanaged QueryService method call, in which a service GUID is specified, into a managed IServiceProvider.GetService method call, in which a managed type is specified. |
Get |
Retrieves a service with a specified service GUID. |
Get |
Retrieves a service of the specified type. |
Get |
Provides the implementation for retrieving a service with a specific GUID. |
Get |
Provides the implementation for retrieving a service of a specific type. |
IService |
Performs as a factory for services that are exposed through an implementation of IServiceProvider. |
Query |
Gets a service exposed by a service provider based on its service GUID. |
Query |
Gets a service exposed by a service provider based on its service type. |
Produit | Versions |
---|---|
Visual Studio SDK | 2017, 2019, 2022 |