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