Interface IClientContextCallback<TContext>

Contextual version of IClientCallback.

Attaches an arbitrary context object to callback notifications.

Inherited Members
IContextCallback<TContext>.OnDiscard(TContext)
Namespace: PushTechnology.ClientInterface.Client.Features.Control.Clients
Assembly: Diffusion.Client.dll
Syntax
public interface IClientContextCallback<in TContext> : IContextCallback<TContext>
Type Parameters
Name Description
TContext

The context type.

Remarks

Caution

Deprecated since 6.7. Methods that use contextual callbacks are deprecated and will be removed in a future release. Use a Task instead.

Methods

OnComplete(TContext)

Indicates that the request operation has been handled by the server.

Declaration
void OnComplete(TContext context)
Parameters
Type Name Description
TContext context

The context provided with the operation.

Back to top