Table of Contents

Interface IRegistration

Namespace
PushTechnology.ClientInterface.Client.Callbacks
Assembly
Diffusion.Client.dll

The reference to a registered handler.

public interface IRegistration

Remarks

Such a handler reference is provided whenever a handler with a server side presence is registered.

Added in version 5.1.

Methods

CloseAsync()

Requests that the handler is unregistered from the server.

Task<object> CloseAsync()

Returns

Task<object>

The Task representing the current operation.

Remarks

After the handler is unregistered, the handler's OnClose method will be called.

A handler can only be unregistered once. A given instance will return the same Task if this method is called more than once.

If the returned Task completes successfully, the result will be null.

Added in version 6.1.

Exceptions

SessionClosedException

The session is closed. Thrown by the returned Task.