-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
DataServiceHost.xml
75 lines (70 loc) · 5.05 KB
/
DataServiceHost.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<Type Name="DataServiceHost" FullName="System.Data.Services.DataServiceHost">
<TypeSignature Language="C#" Value="public class DataServiceHost : System.ServiceModel.Web.WebServiceHost" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit DataServiceHost extends System.ServiceModel.Web.WebServiceHost" />
<TypeSignature Language="DocId" Value="T:System.Data.Services.DataServiceHost" />
<TypeSignature Language="VB.NET" Value="Public Class DataServiceHost
Inherits WebServiceHost" />
<TypeSignature Language="F#" Value="type DataServiceHost = class
 inherit WebServiceHost" />
<TypeSignature Language="C++ CLI" Value="public ref class DataServiceHost : System::ServiceModel::Web::WebServiceHost" />
<AssemblyInfo>
<AssemblyName>System.Data.Services</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.ServiceModel.Web.WebServiceHost</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.CLSCompliant(false)]</AttributeName>
<AttributeName Language="F#">[<System.CLSCompliant(false)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>The WCF Data Services class derived from <see cref="T:System.ServiceModel.Web.WebServiceHost" /> used to instantiate data services.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
WCF 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.
WCF Data Services defines a generic hosting interface <xref:System.Data.Services.IDataServiceHost> that abstracts its implementation from a specific host. This allows WCF Data Services to run in a range of hosting environments. For more information, see [Hosting the Data Service](/dotnet/framework/data/wcf/hosting-the-data-service-wcf-data-services).
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public DataServiceHost (Type serviceType, Uri[] baseAddresses);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Type serviceType, class System.Uri[] baseAddresses) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.Services.DataServiceHost.#ctor(System.Type,System.Uri[])" />
<MemberSignature Language="VB.NET" Value="Public Sub New (serviceType As Type, baseAddresses As Uri())" />
<MemberSignature Language="F#" Value="new System.Data.Services.DataServiceHost : Type * Uri[] -> System.Data.Services.DataServiceHost" Usage="new System.Data.Services.DataServiceHost (serviceType, baseAddresses)" />
<MemberSignature Language="C++ CLI" Value="public:
 DataServiceHost(Type ^ serviceType, cli::array <Uri ^> ^ baseAddresses);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data.Services</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="serviceType" Type="System.Type" />
<Parameter Name="baseAddresses" Type="System.Uri[]" />
</Parameters>
<Docs>
<param name="serviceType">Identifies the WCF Data Services to the host.</param>
<param name="baseAddresses">The URI of the host.</param>
<summary>Instantiates <see cref="T:System.Data.Services.DataServiceHost" /> for WCF Data Services.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
WCF Data Services defines a generic hosting interface <xref:System.Data.Services.IDataServiceHost> that abstracts its implementation from a specific host. This allows WCF Data Services to run in a range of hosting environments. This interface should not be confused with <xref:System.Data.Services.DataServiceHost>, which instead handles registration and activation for the service. A default <xref:System.Data.Services.IDataServiceHost> is used in this case.
]]></format>
</remarks>
</Docs>
</Member>
</Members>
</Type>