TransactionOptionsSetDurability Method Hazelcast .Net Client Class Library
Sets the transaction durability.

Namespace: Hazelcast.Transaction
Assembly: HazelcastClient3x (in HazelcastClient3x.dll) Version: 3.3.0.9
Syntax

public TransactionOptions SetDurability(
	int durability
)

Parameters

durability
Type: SystemInt32
the durability

Return Value

Type: TransactionOptions
the updated TransactionOptions.
Exceptions

ExceptionCondition
ArgumentExceptionif durability smaller than 0.
Remarks

Sets the transaction durability. The durability is the number of machines that can take over if a member fails during a transaction commit or rollback. This value only has meaning when TransactionType.TwoPhase is selected.
See Also

Reference