Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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)

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft