Callback interface for filtered send operation notifications that have an associated context.
public interface ISendToFilterContextCallback<in TC> : IContextCallback<TC>
The context object type.
Deprecated: This is only used within one-way messaging, which is deprecated from this release. This interface will be removed in a future release.
Called to indicate successful processing of the send request at the server.
void OnComplete(TC context, int numberSent)
The context object the application supplied when making the call; may be null.
Indicates the number of clients that satisfied the filter and to which the message was sent. This could be zero if no client sessions matched the filter.
The filter was rejected. The message was not sent to any clients.
void OnRejected(TC context, ICollection<IErrorReport> errors)
The context object supplied when making the call.
The detail of why the filter was rejected.