ServiceProvider Methods

The ServiceProvider type exposes the following members.

  Name Description
Public method Static member CreateFromSetSite Create a new ServiceProvider for the given site.
Public method Dispose Releases the resources used by the ServiceProvider object.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetService(Guid) Gets the specified service from the unmanaged service provider.
Public method GetService(Type) Gets type-based services from the unmanaged service provider.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method QueryService(Guid, Object) Gets type-based services from the unmanaged service provider, with an option to prevent the error being sent to the shell.
Public method QueryService(Type, Object) Gets type-based services from the unmanaged service provider, with an option to prevent the error being sent to the shell.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  Name Description
Explicit interface implemetation Private method IObjectWithSite.GetSite Gets the current site object to resolve services.
Explicit interface implemetation Private method IObjectWithSite.SetSite Sets the site object to resolve services.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft