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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기