Click or drag to resize

IPNCounterGetAndSubtract Method

Subtracts the given value from the current value.

Namespace:  Hazelcast.Core
Assembly:  Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.12.1
Syntax
long GetAndSubtract(
	long delta
)

Parameters

delta
Type: SystemInt64
the value to add

Return Value

Type: Int64
the previous value
Exceptions
ExceptionCondition
NoDataMemberInClusterExceptionif the cluster does not contain any data members
NotSupportedExceptionif the cluster version is less than 3.10
ConsistencyLostExceptionif the session guarantees have been lost
See Also