<timeOuts>

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

Schema Hierarchy

<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

Reference

HostElement
ServiceHost
CloseTimeout
OpenTimeout

Other Resources

Hosting