<timeOuts>

Represents a configuration element that specifies the interval of time allowed for the service host to open or close.

<system.ServiceModel>
<client>
<endpoint>
<host>
<timeOuts>

Syntax

<timeOuts closeTimeout="TimeSpan"  
   openTimeout="TimeSpan" >  

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description
closeTimeout A TimeSpan value that specifies the interval of time allowed for the service host to close.
openTimeout A TimeSpan value that specifies the interval of time allowed for the service host to open.

Child Elements

None.

Parent Elements

Element Description
<host> A configuration element that specifies settings for a service host.

See Also

HostElement
ServiceHost
Hosting