Interface IPingContextCallback<TContext>

The callback interface for IPings context based operations.

Inherited Members
IContextCallback<TContext>.OnDiscard(TContext)
Namespace: PushTechnology.ClientInterface.Client.Features
Assembly: Diffusion.Client.dll
Syntax
public interface IPingContextCallback<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 IPingCallback to associate some arbitrary context object with each call.

Methods

OnPingResponse(TContext, IPingDetails)

Called when the server responds to a ping operation.

Declaration
void OnPingResponse(TContext context, IPingDetails details)
Parameters
Type Name Description
TContext context

The context object supplied when making the call. Or null.

IPingDetails details

Information relating to the ping.

Back to top