Class SessionErrorHandlerEventArgs
The ErrorNotified event argument.
Namespace: PushTechnology.ClientInterface.Client.Session
Assembly: Diffusion.Client.dll
Syntax
public sealed class SessionErrorHandlerEventArgs : EventArgs
Remarks
Added in 5.0.
Examples
An instance of this class can be obtained by the ErrorNotified event.
var factory = Diffusion.Sessions.SessionErrorHandler(
(sender, args) => {
var handlerEventArgs = args;
} );
Properties
Error
Gets the reported error.
Declaration
public ISessionError Error { get; }
Property Value
Type | Description |
---|---|
ISessionError | The reported error. |
Remarks
Added in 5.0.
Examples
The session error can be obtain by the ErrorNotified event.
var factory = Diffusion.Sessions.SessionErrorHandler(
(sender, args) => {
var error = args.Error;
} );