![](../icons/Hazelcast-IMDG-Logo-Orange_Dark_200px.jpg) | HazelcastClientAddDistributedObjectListener Method |
Adds a Distributed Object listener which will be notified when a
new
IDistributedObject
will be created or destroyed.
Namespace:
Hazelcast.Client
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.4
Syntaxpublic string AddDistributedObjectListener(
IDistributedObjectListener distributedObjectListener
)
Public Function AddDistributedObjectListener (
distributedObjectListener As IDistributedObjectListener
) As String
public:
virtual String^ AddDistributedObjectListener(
IDistributedObjectListener^ distributedObjectListener
) sealed
abstract AddDistributedObjectListener :
distributedObjectListener : IDistributedObjectListener -> string
override AddDistributedObjectListener :
distributedObjectListener : IDistributedObjectListener -> string
Parameters
- distributedObjectListener
- Type: Hazelcast.CoreIDistributedObjectListener
instance listener
Return Value
Type:
Stringreturns registration id.
Implements
IHazelcastInstanceAddDistributedObjectListener(IDistributedObjectListener)
See Also