Interface ISendContextCallback<TC>
Contextual callback interface for success or failure notifications from send operations.
Use this alternative to ISendCallback to associate some arbitrary context object with each call.
Inherited Members
Namespace: PushTechnology.ClientInterface.Client.Features
Assembly: Diffusion.Client.dll
Syntax
public interface ISendContextCallback<in TC> : IContextCallback<TC>
Type Parameters
Name | Description |
---|---|
TC | The context object. |
Remarks
Deprecated: One-way messaging is deprecated in favor of request-response messaging. See SendRequestAsync<TRequest, TResponse>(String, TRequest). This interface will be removed in a future release.
Methods
OnComplete(TC)
Called to indicate that the sent message has been received by the server. This does not necessarily mean that it has been delivered to any recipient.
Declaration
void OnComplete(TC context)
Parameters
Type | Name | Description |
---|---|---|
TC | context | The context object. |