<serviceTimeouts>

Specifies the timeout for a service.

Schema Hierarchy

<system.serviceModel>
  <behaviors>
    <serviceBehaviors>
      <behavior> of <serviceBehaviors>
        <serviceTimeouts>

Syntax

<serviceTimeouts transactionTimeout="TimeSpan" />

Type

Attributes and Elements

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

Attributes

Attribute Description

transactionTimeout

A TimeSpan value that specifies the interval of time a transaction must flow from client to server. The default is “00:00:00”.

Child Elements

None.

Parent Elements

Element Description

<behavior> of <endpointBehaviors>

Specifies a behavior element.

See Also

Reference

ServiceTimeoutsElement