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.
Assembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 18.104.22.168
public TransactionOptions SetTransactionType( TransactionOptionsTransactionType transactionType )
Public Function SetTransactionType ( transactionType As TransactionOptionsTransactionType ) As TransactionOptions
public: TransactionOptions^ SetTransactionType( TransactionOptionsTransactionType transactionType )
member SetTransactionType : transactionType : TransactionOptionsTransactionType -> TransactionOptions
- Type: Hazelcast.TransactionTransactionOptionsTransactionType
the new TransactionType.
Return ValueType: TransactionOptions
the updated TransactionOptions.