Timeout Property
Collapse the table of content
Expand the table of content

TransactionOptions.Timeout Property

 

Gets or sets the timeout period for the transaction.

Namespace:   System.Transactions
Assembly:  System.Transactions (in System.Transactions.dll)

member Timeout : TimeSpan with get, set

Property Value

Type: System.TimeSpan

A TimeSpan value that specifies the timeout period for the transaction.

This property contains the maximum amount of time that the scope can be in existence, before it aborts the transaction.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft