TransactionOptions.Timeout Property

 

Gets or sets the timeout period for the transaction.

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

public TimeSpan Timeout { 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: