TransactionOptions TransactionOptions TransactionOptions TransactionOptions Struct

Definition

Contains additional information that specifies transaction behaviors.

public value class TransactionOptions
public struct TransactionOptions
type TransactionOptions = struct
Public Structure TransactionOptions
Inheritance
TransactionOptionsTransactionOptionsTransactionOptionsTransactionOptions

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 IsolationLevel IsolationLevel IsolationLevel

Gets or sets the isolation level of the transaction.

Timeout Timeout Timeout Timeout

Gets or sets the timeout period for the transaction.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Returns the hash code for this instance.

Operators

Equality(TransactionOptions, TransactionOptions) Equality(TransactionOptions, TransactionOptions) Equality(TransactionOptions, TransactionOptions) Equality(TransactionOptions, TransactionOptions)

Tests whether two specified TransactionOptions instances are equivalent.

Inequality(TransactionOptions, TransactionOptions) Inequality(TransactionOptions, TransactionOptions) Inequality(TransactionOptions, TransactionOptions) Inequality(TransactionOptions, TransactionOptions)

Returns a value that indicates whether two TransactionOptions instances are not equal.

Applies to