Export (0) Print
Expand All

IServiceProvider Interface

Defines a mechanism for retrieving a service object; that is, an object that provides custom support to other objects.

For a list of all members of this type, see IServiceProvider Members.

[Visual Basic]
<ComVisible(False)>
Public Interface IServiceProvider
[C#]
[ComVisible(false)]
public interface IServiceProvider
[C++]
[ComVisible(false)]
public __gc __interface IServiceProvider
[JScript]
public
   ComVisible(false)
interface IServiceProvider

Classes that Implement IServiceProvider

Class Description
HttpContext Encapsulates all HTTP-specific information about an individual HTTP request.
LicenseContext Specifies when you can use a licensed object and provides a way of obtaining additional services needed to support licenses running within its domain.
MarshalByValueComponent Implements IComponent and provides the base implementation for remotable components that are marshaled by value (a copy of the serialized object is passed).
ServiceContainer Provides a simple implementation of the IServiceContainer interface. This class cannot be inherited.

Remarks

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.

Requirements

Namespace: System

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

Assembly: Mscorlib (in Mscorlib.dll)

See Also

IServiceProvider Members | System Namespace | Type

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft