<serviceTimeouts>

指定服务的超时。

架构层次结构

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

语法

<serviceTimeouts transactionTimeout="TimeSpan" />

Type

属性和元素

以下几节描述了特性、子元素和父元素。

属性

特性 说明

transactionTimeout

一个 TimeSpan 值,指定事务从客户端流动到服务器所必须经历的时间间隔。默认值为“00:00:00”。

子元素

无。

父元素

元素 说明

<endpointBehaviors> 的 <behavior>

指定行为元素。

另请参见

参考

ServiceTimeoutsElement