Click or drag to resize

IMapTKey, TValueAddEntryListener Method (MapListener, Boolean)

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.3
Syntax
string AddEntryListener(
	MapListener listener,
	bool includeValue
)

Parameters

listener
Type: Hazelcast.CoreMapListener
MapListener for this map
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 is null.
See Also