Adds IMembershipListener to listen for membership updates.
Namespace: Hazelcast.CoreAssembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.6.3.0
string AddMembershipListener(
IMembershipListener listener
)
Function AddMembershipListener (
listener As IMembershipListener
) As String
String^ AddMembershipListener(
IMembershipListener^ listener
)
abstract AddMembershipListener :
listener : IMembershipListener -> string
Parameters
- listener
- Type: Hazelcast.CoreIMembershipListener
membership listener
Return Value
Type:
Stringreturns registration id.
Adds IMembershipListener to listen for membership updates.
If the IMembershipListener implements the
IInitialMembershipListener
interface, it will also receive
the
InitialMembershipEvent
.
Reference