![](../icons/Hazelcast-IMDG-Logo-Orange_Dark_200px.jpg) | IClientClusterServiceAddMembershipListener Method |
Namespace:
Hazelcast.Client.Spi
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.3
Syntaxstring AddMembershipListener(
IMembershipListener listener
)
Function AddMembershipListener (
listener As IMembershipListener
) As String
String^ AddMembershipListener(
IMembershipListener^ listener
)
abstract AddMembershipListener :
listener : IMembershipListener -> string
Parameters
- listener
- Type: Hazelcast.CoreIMembershipListener
The listener to be registered.
Return Value
Type:
StringThe registration id.
See Also