TransactionOptions Struct

Definition

Contains additional information that specifies transaction behaviors.

public value class TransactionOptions
public value class TransactionOptions : IEquatable<System::Transactions::TransactionOptions>
public struct TransactionOptions
public struct TransactionOptions : IEquatable<System.Transactions.TransactionOptions>
type TransactionOptions = struct
Public Structure TransactionOptions
Public Structure TransactionOptions
Implements IEquatable(Of TransactionOptions)
Inheritance
TransactionOptions
Implements

Remarks

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.

Properties

IsolationLevel

Gets or sets the isolation level of the transaction.

Timeout

Gets or sets the timeout period for the transaction.

Methods

Equals(Object)

Determines whether this TransactionOptions instance and the specified object are equal.

Equals(TransactionOptions)

Indicates whether the current instance is equal to another instance of the same type.

GetHashCode()

Returns the hash code for this instance.

Operators

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.

Applies to