Interface ITopicControlRemovalContextCallback<TContext>

The contextual callback interface for topic remove requests.

Inherited Members
IContextCallback<TContext>.OnError(TContext, ErrorReason)
Namespace: PushTechnology.ClientInterface.Client.Features.Control.Topics
Assembly: Diffusion.Client.dll
Syntax
public interface ITopicControlRemovalContextCallback<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.

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

Methods

OnTopicsRemoved(TContext)

Called to indicate that the requested remove operation has been actioned at the server.

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

The context object the application supplied when making the call or null.

Remarks

This does not mean that all intended topics have actually been removed. For example, if the caller did not have sufficient permissions to remove the topic(s).

Back to top