Interface ITopicsCompletionContextCallback<TContext>
The contextual callback interface for success or failure notifications from subscription operations.
Inherited Members
Namespace: PushTechnology.ClientInterface.Client.Features
Assembly: Diffusion.Client.dll
Syntax
public interface ITopicsCompletionContextCallback<in TContext> : IContextCallback<TContext>
Type Parameters
Name | Description |
---|---|
TContext | The 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 ITopicsCompletionCallback to associate some arbitrary context with each call.
Methods
OnComplete(TContext)
Called to indicate that a requested operation has been processed by the server.
Declaration
void OnComplete(TContext context)
Parameters
Type | Name | Description |
---|---|---|
TContext | context | The context object supplied when making the call. Can be |