IClusterAddMembershipListener Method Hazelcast .Net Client Class Library
Adds IMembershipListener to listen for membership updates.

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

Reference