Callback interface for filtered subscriptions and unsubscriptions that have an associated context.
public interface ISubscriptionByFilterContextCallback<in TC> : IContextCallback<TC>
The context object type.
Called to indicate successful processing of the request at the server.
void OnComplete(TC context, int numberSelected)
The context object the application supplied when making the call;
Indicates the number of sessions that satisfied the filter and which qualified for subscription/unsubscription. This could be 0 if no session sessions matched the filter.
The filter was rejected. No sessions were subscribed/unsubscribed.
void OnRejected(TC context, ICollection<IErrorReport> errors)
The context object supplied when making the call.
The detail of why the filter was rejected.