Class SessionErrorEventArgs
Error event arguments.
Inherited Members
Namespace: OnixS.Cme.ILink3
Assembly: OnixS.Cme.ILink3.dll
Syntax
public class SessionErrorEventArgs : EventArgs
Constructors
SessionErrorEventArgs(SessionErrorReason, string, IMessage)
Creates event data.
Declaration
public SessionErrorEventArgs(SessionErrorReason reason, string description, IMessage message)
Parameters
Type | Name | Description |
---|---|---|
SessionErrorReason | reason | error reason |
string | description | error description |
IMessage | message |
Properties
Description
Error description.
Declaration
public string Description { get; }
Property Value
Type | Description |
---|---|
string | error description |
IncomingMessage
This property is valid only during event callback.
Declaration
public IMessage IncomingMessage { get; }
Property Value
Type | Description |
---|---|
IMessage |
Reason
Returns error reason.
Declaration
public SessionErrorReason Reason { get; }
Property Value
Type | Description |
---|---|
SessionErrorReason | error reason |
Methods
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string that represents the current object. |