Interface ISubscriptionContextCallback<TC>

Contextual callback interface to receive status notifications for subscription and unsubscription operations.

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

Context object 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.

Use this alternative to ISubscriptionCallback to associate some arbitrary context object with each call.

Methods

OnComplete(TC)

Called to indicate that the requested operation has been processed by the server.

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

The context object supplied when making the call. May be null.

Back to top