Diffusion .NET API  5.9.24
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events Pages
PushTechnology.ClientInterface.Client.Callbacks.DefaultContextCallback< TContext > Class Template Reference

Abstract default callback. More...

Inheritance diagram for PushTechnology.ClientInterface.Client.Callbacks.DefaultContextCallback< TContext >:
PushTechnology.ClientInterface.Client.Callbacks.IContextCallback< in TContext > PushTechnology.ClientInterface.Client.Callbacks.DefaultContextStream< TContext > PushTechnology.ClientInterface.Client.Features.Control.Topics.TopicControlRemovalContextCallbackDefault< TContext >

Public Member Functions

virtual void OnError (TContext context, ErrorReason errorReason)
 Notification of a contextual error related to this callback. This is analogous to an unchecked exception being raised. Situations in which More...
 

Detailed Description

Abstract default callback.

This simply logs errors at debug level.

Template Parameters
TContextcontext object type

Member Function Documentation

virtual void PushTechnology.ClientInterface.Client.Callbacks.DefaultContextCallback< TContext >.OnError ( TContext  context,
ErrorReason  errorReason 
)
virtual

Notification of a contextual error related to this callback. This is analogous to an unchecked exception being raised. Situations in which

OnError is called include the session being closed, a communication timeout, or a problem with the provided parameters. No further calls will be made to this callback.

Parameters
contextthe context object supplied when making the call. May be null.
errorReasonerrorReason a value representing the error; this can be one of constants defined in ErrorReason, or a feature-specific reason.

Implements PushTechnology.ClientInterface.Client.Callbacks.IContextCallback< in TContext >.


The documentation for this class was generated from the following file: