GetService Method
Collapse the table of content
Expand the table of content

ServiceProvider.GetService Method

Gets GUID-based services from the unmanaged service provider.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
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.
Top

Services are identified for retrieval by an associated GUID. ServiceProvider allows services to be requested directly with a GUID, but is overloaded to permit requests by service type as well.

Show:
© 2016 Microsoft