Click or drag to resize

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.3
Syntax
public TransactionOptions SetTransactionType(
	TransactionOptionsTransactionType transactionType
)

Parameters

transactionType
Type: Hazelcast.TransactionTransactionOptionsTransactionType
the new TransactionType.

Return Value

Type: TransactionOptions
the updated TransactionOptions.
See Also