TransactionOptions Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om