<serviceTimeouts>

指定服务的超时。

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

<serviceTimeouts transactionTimeout="TimeSpan" />

Type

属性和元素

属性

属性 说明

transactionTimeout

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

子元素

无。

父元素

元素 说明

<endpointBehaviors> 的 <behavior>

指定行为元素。

另请参见

参考

ServiceTimeoutsElement