ServiceProviderWithSite 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 proffers services using both the managed and unmanaged versions of the ServiceProvider interface, and can be sited using the IObjectWithSite interface.
public ref class ServiceProviderWithSite abstract : Microsoft::VisualStudio::Data::ServiceProvider, Microsoft::VisualStudio::OLE::Interop::IObjectWithSite
public abstract class ServiceProviderWithSite : Microsoft.VisualStudio.Data.ServiceProvider, Microsoft.VisualStudio.OLE.Interop.IObjectWithSite
type ServiceProviderWithSite = class
inherit ServiceProvider
interface IObjectWithSite
Public MustInherit Class ServiceProviderWithSite
Inherits ServiceProvider
Implements IObjectWithSite
- Inheritance
- Derived
- Implements
Service |
Class constructor. Instantiates a new instance of the ServiceProviderWithSite class. |
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. (Inherited from ServiceProvider) |
Site |
Retrieves or sets the site object instance. |
Get |
Retrieves a service with a specified service GUID. (Inherited from ServiceProvider) |
Get |
Retrieves a service of the specified type. (Inherited from ServiceProvider) |
Get |
Provides the implementation for retrieving a service with a specific GUID. (Inherited from ServiceProvider) |
Get |
Provides the implementation for retrieving a service of a specific type. (Inherited from ServiceProvider) |
On |
Raises the SiteChanged event. |
Site |
Event raised when the Site property has changed. |
IObject |
Retrieves the last site set using the IObjectWithSite.SetSite(Object) method. If there is no known site, an exception is thrown. |
IObject |
Provides a site's IUnknown pointer to a given object. |
IService |
Performs as a factory for services that are exposed through an implementation of IServiceProvider. (Inherited from ServiceProvider) |
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. |
Product | Versions |
---|---|
Visual Studio SDK | 2017, 2019, 2022 |