DataService(Of T).AttachHost Method (IDataServiceHost)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 Sub AttachHost (
	host As IDataServiceHost
)

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: