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

Namespace: Hazelcast.Transaction
Assembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.8.2
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