| TransactionOptionsSetTransactionType Method |
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.
Namespace:
Hazelcast.Transaction
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.12.2
Syntax public TransactionOptions SetTransactionType(
TransactionOptionsTransactionType transactionType
)
Public Function SetTransactionType (
transactionType As TransactionOptionsTransactionType
) As TransactionOptions
public:
TransactionOptions^ SetTransactionType(
TransactionOptionsTransactionType transactionType
)
member SetTransactionType :
transactionType : TransactionOptionsTransactionType -> TransactionOptions
Parameters
- transactionType
- Type: Hazelcast.TransactionTransactionOptionsTransactionType
the new TransactionType.
Return Value
Type:
TransactionOptionsthe updated TransactionOptions.
See Also