ObjectDestroyed Method
ObjectDestroyed(Action<IHazelcastClient, DistributedObjectDestroyedEventArgs>)
Adds a handler which runs when a distributed object is destroyed.
Declaration
public HazelcastClientEventHandlers ObjectDestroyed(Action<IHazelcastClient, DistributedObjectDestroyedEventArgs> handler)
Parameters
Action<IHazelcastClient, DistributedObjectDestroyedEventArgs> | handler | The handler. |
Returns
HazelcastClientEventHandlers | The handlers. |
ObjectDestroyed(Func<IHazelcastClient, DistributedObjectDestroyedEventArgs, ValueTask>)
Adds a handler which runs when a distributed object is destroyed.
Declaration
public HazelcastClientEventHandlers ObjectDestroyed(Func<IHazelcastClient, DistributedObjectDestroyedEventArgs, ValueTask> handler)
Parameters
Func<IHazelcastClient, DistributedObjectDestroyedEventArgs, ValueTask> | handler | The handler. |
Returns
HazelcastClientEventHandlers | The handlers. |