IMapTKey, TValueAddEntryListener Method (MapListener, IPredicate, Boolean)Hazelcast .Net Client Class Library
Adds a MapListener for this map.To receive an event, you should implement a corresponding MapListener sub-interface for that event.

Namespace: Hazelcast.Core
Assembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.1
Syntax

string AddEntryListener(
	MapListener listener,
	IPredicate predicate,
	bool includeValue
)

Parameters

listener
Type: Hazelcast.CoreMapListener
MapListener for this map
predicate
Type: Hazelcast.CoreIPredicate
predicate for filtering entries
includeValue
Type: SystemBoolean
true if EntryEvent should contain the value.

Return Value

Type: String
a registration Id which is used as a key to remove the listener.
Exceptions

ExceptionCondition
ArgumentNullExceptionthe specified listener or predicate is null.
Remarks

Adds a continuous MapListener for this map. Listener will get notified for registered map events filtered by given predicate.
See Also

Reference