Nota
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba mendaftar masuk atau menukar direktori.
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba menukar direktori.
Specifies settings for a service host.
<configuration>
<system.serviceModel>
<services>
<service>
<host>
Syntax
<host>
<baseAddresses>
<add baseAddress="string" />
</baseAddresses>
<timeOuts closeTimeout="TimeSpan"
openTimeout="TimeSpan" />
</host>
Type
Type
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
None.
Child Elements
| Element | Description |
|---|---|
| <baseAddresses> | A collection of baseAddress elements that specifies the base addresses used by the service host. |
| <timeOuts> | A configuration element that specifies the interval of time allowed for the service host to open or close. |
Parent Elements
| Element | Description |
|---|---|
| <service> | Specifies the settings for a Windows Communication Foundation (WCF) service. |
See also
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.