The ADO.NET Data Services class derived from WebServiceHost used to instantiate data services.
This API is not CLS-compliant. The CLS-compliant alternative is
[None .].
Namespace:
System.Data.Services
Assembly:
System.Data.Services (in System.Data.Services.dll)
Visual Basic (Declaration)
<CLSCompliantAttribute(False)> _
Public Class DataServiceHost _
Inherits WebServiceHost
Dim instance As DataServiceHost
[CLSCompliantAttribute(false)]
public class DataServiceHost : WebServiceHost
[CLSCompliantAttribute(false)]
public ref class DataServiceHost : public WebServiceHost
public class DataServiceHost extends WebServiceHost
ADO.NET Data Services are not autonomous server entities. Instead, the service is a component hosted in an environment such as the Windows Communication Foundation (WCF) that provides core server networking facilities. Specifically, a service does not bind to and listen on a network socket for incoming requests to its Representational State Transfer (REST) entry points. The host handles direct interactions with the network and support caching, scalability, and authentication modules.
ADO.NET Data Services defines a generic hosting interface IDataServiceHost that abstracts its implementation from a specific host. This allows ADO.NET Data Services to run in a range of hosting environments.
System..::.Object
System.ServiceModel.Channels..::.CommunicationObject
System.ServiceModel..::.ServiceHostBase
System.ServiceModel..::.ServiceHost
System.ServiceModel.Web..::.WebServiceHost
System.Data.Services..::.DataServiceHost
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
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
Reference