DataService<T>.AttachHost(IDataServiceHost) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attaches the data service host to the data service identified by the parameter host
.
public:
void AttachHost(System::Data::Services::IDataServiceHost ^ host);
public void AttachHost (System.Data.Services.IDataServiceHost host);
member this.AttachHost : System.Data.Services.IDataServiceHost -> unit
Public Sub AttachHost (host As IDataServiceHost)
Parameters
- host
- IDataServiceHost
An instance of IDataServiceHost.
Remarks
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).
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.