TransactionOptions Structure
Contains additional information that specifies transaction behaviors.
Assembly: System.Transactions (in System.Transactions.dll)
| Name | Description | |
|---|---|---|
![]() | IsolationLevel | Gets or sets the isolation level of the transaction. |
![]() | Timeout | Gets or sets the timeout period for the transaction. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether this TransactionOptions instance and the specified object are equal.(Overrides ValueType::Equals(Object^).) |
![]() | GetHashCode() | Returns the hash code for this instance.(Overrides ValueType::GetHashCode().) |
![]() | GetType() | |
![]() | ToString() | Returns the fully qualified type name of this instance.(Inherited from ValueType.) |
| Name | Description | |
|---|---|---|
![]() ![]() | Equality(TransactionOptions, TransactionOptions) | Tests whether two specified TransactionOptions instances are equivalent. |
![]() ![]() | Inequality(TransactionOptions, TransactionOptions) | Returns a value that indicates whether two TransactionOptions instances are not equal. |
This structure encapsulates the timeout and isolation level parameters for a transaction into a single, simple structure. It is passed to the TransactionScope and CommittableTransaction constructors to create a new transaction with the desired behaviors.
Available since 2.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



