Click or drag to resize

IClusterAddMembershipListener Method

Adds IMembershipListener to listen for membership updates.

Namespace:  Hazelcast.Core
Assembly:  Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.12.3
Syntax
string AddMembershipListener(
	IMembershipListener listener
)

Parameters

listener
Type: Hazelcast.CoreIMembershipListener
membership listener

Return Value

Type: String
returns registration id.
Remarks
Adds IMembershipListener to listen for membership updates. If the IMembershipListener implements the IInitialMembershipListener interface, it will also receive the InitialMembershipEvent .
See Also