Share via


ServiceManager.GetService Method

Include Protected Members
Include Inherited Members

Retrieves an instance of a service of a specified type.

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

Overload List

  Name Description
Public method GetService<TServiceType>() Retrieves an instance of a service of the specified generic type.
Public method GetService(Type) When overridden in a derived class, retrieves an instance of a service of the specified type.

Top

See Also

Reference

ServiceManager Class

Microsoft.Windows.Design Namespace