Defines a mechanism for retrieving a service object; that is, an object that provides custom support to other objects.
Assemblies: System.ComponentModel (in System.ComponentModel.dll)
mscorlib (in mscorlib.dll)
Thetype exposes the following members.
This interface is implemented by a class or value type that provides a service to other objects.
The GetService method of this interface obtains the object that provides the service.
The interface is implemented by a number of types, including System.Web.HttpContext, System.ComponentModel.LicenseContext, System.ComponentModel.MarshalByValueComponent, and System.ComponentModel.Design.ServiceContainer.