AttachHost Method
Collapse the table of content
Expand the table of content

DataService<T>.AttachHost Method (IDataServiceHost)

 

Attaches the data service host to the data service identified by the parameter host.

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

public void AttachHost(
	IDataServiceHost host
)

Parameters

host
Type: System.Data.Services.IDataServiceHost

An instance of IDataServiceHost.

The IDataServiceHost host attached is used by the data service to process requests. There is no requirement to set up a host when the data service is hosted in Windows Communication Foundation (WCF).

.NET Framework
Available since 3.5
Return to top
Show:
© 2016 Microsoft