TransactionOptions Methods |
The TransactionOptions type exposes the following members.
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetDefault | Creates a new TransactionOptions configured with default settings. | |
GetDurability | Gets the transaction durability. | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetTimeoutMillis | Gets the timeout in milliseconds. | |
GetTransactionType |
Gets the
TransactionType
.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
SetDurability | Sets the transaction durability. | |
SetTimeout | Sets the timeout. | |
SetTransactionType |
Sets the
TransactionType
.
A local transaction is less safe than a two phase transaction; when a member fails during the commit
of a local transaction, it could be that some of the changes are committed, while others are not and this
can leave your system in an inconsistent state.
| |
ToString | (Overrides ObjectToString.) |