![](../icons/Hazelcast-IMDG-Logo-Orange_Dark_200px.jpg) | ILifecycleServiceAddLifecycleListener Method |
Add listener object to listen lifecycle events.
Namespace:
Hazelcast.Core
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.4
Syntaxstring AddLifecycleListener(
ILifecycleListener lifecycleListener
)
Function AddLifecycleListener (
lifecycleListener As ILifecycleListener
) As String
String^ AddLifecycleListener(
ILifecycleListener^ lifecycleListener
)
abstract AddLifecycleListener :
lifecycleListener : ILifecycleListener -> string
Parameters
- lifecycleListener
- Type: Hazelcast.CoreILifecycleListener
Listener object
Return Value
Type:
Stringlistener id
RemarksAdd listener object to listen lifecycle events.
See Also