Diffusion .NET Client Library
6.1.5
|
The reference to a registered handler. More...
Public Member Functions | |
Task< object > | Close () |
Requests that the handler is unregistered from the server. More... | |
Task< object > | CloseAsync () |
Requests that the handler is unregistered from the server. More... | |
The reference to a registered handler.
Such a handler reference is provided whenever a handler with a server side presence is registered.
Added in version 5.1.
Task<object> PushTechnology.ClientInterface.Client.Callbacks.IRegistration.Close | ( | ) |
Requests that the handler is unregistered from the server.
After the handler is unregistered, the handler's
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
.
This method has been deprecated in version 6.1. Use CloseAsync instead.
Task
representing the current operation.Session.SessionClosedException | The session is closed. Thrown by the returned Task . |
Task<object> PushTechnology.ClientInterface.Client.Callbacks.IRegistration.CloseAsync | ( | ) |
Requests that the handler is unregistered from the server.
After the handler is unregistered, the handler's
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
.
Added in version 6.1.
Task
representing the current operation.Session.SessionClosedException | The session is closed. Thrown by the returned Task . |