How to: Set the Transaction Time-out

[Note: This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

This example shows how to set the transaction time-out to 10 seconds.

[Transaction(TransactionOption.Required, Isolation=TransactionIsolationLevel.Serializable, Timeout=10)]

This example requires:

Show: