ServiceBehaviorAttribute::TransactionTimeout Property
.NET Framework (current version)
Gets or sets the period within which a transaction must complete.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
| Exception | Condition |
|---|---|
| ArgumentNullException | The value is null. |
| ArgumentOutOfRangeException | The value is less than TimeSpan::Zero or greater than TimeSpan::MaxValue. |
This value sets the ChannelDispatcher::TransactionTimeout property. You can also set this property using the <serviceTimeouts> element in an application configuration file.
.NET Framework
Available since 3.0
Available since 3.0
Show: