The default ICallback implementation.
public class DefaultCallback : object, ICallback
This simply logs OnError(ErrorReason) calls at debug level. This should be overridden to perform more specific error handling.
Notification of a contextual error related to this callback.
public virtual void OnError(ErrorReason errorReason)
The reason for the error.
This is analogous to an exception being raised. Situations in which this method 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 for the call context.