This documentation is archived and is not being maintained.

IDataServiceHost Interface

Interface that specifies interactions between ADO.NET Data Services and its hosting environment.

Namespace:  System.Data.Services
Assembly:  System.Data.Services (in System.Data.Services.dll)

public interface IDataServiceHost

Each component that hosts the ADO.NET Data Services framework, such as Windows Communication Foundation (WCF) must implement this interface. IDataServiceHost is the contract between ADO.NET Data Services and its hosting environment. This abstraction allows the ADO.NET Data Services runtime to be agnostic to any particular hosting environment. The interface provides the ADO.NET Data Services framework with access to inbound HTTP requests. A new object implementing this interface is instantiated for each HTTP request and is then used to inspect properties of the HTTP request and configure the HTTP response.

For more information of the properties supported by IDataServiceHost and their use, see Client Applications of ADO.NET Data Services.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5 SP1