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.
The ServiceProviderWithSite type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
ServiceProviderWithSite | Class constructor. Instantiates a new instance of the ServiceProviderWithSite class. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetService | Overloaded. |
![]() |
GetServiceImpl | Overloaded. |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
OnSiteChanged | Raises the SiteChanged event. |
![]() |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Top
Properties
| Name | Description | |
|---|---|---|
![]() |
ServiceTypes | 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. |
Top
Events
| Name | Description | |
|---|---|---|
![]() |
SiteChanged | Event raised when the Site property has changed. |
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
![]() ![]() |
IObjectWithSite.GetSite | Retrieves the last site set using the IObjectWithSite.SetSite method. If there is no known site, an exception is thrown. |
![]() ![]() |
IServiceProvider.QueryService | Performs as a factory for services that are exposed through an implementation of IServiceProvider. (Inherited from ServiceProvider.) |
![]() ![]() |
IObjectWithSite.SetSite | Provides a site's IUnknown pointer to a given object. |
Top
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)