Class SessionWarningEventArgs
Warning event arguments.
Inherited Members
Namespace: OnixS.Cme.ILink3
Assembly: OnixS.Cme.ILink3.dll
Syntax
public class SessionWarningEventArgs : EventArgs
Constructors
SessionWarningEventArgs(SessionWarningReason, string, IMessage)
Creates event data.
Declaration
public SessionWarningEventArgs(SessionWarningReason reason, string description, IMessage message = null)
Parameters
Type | Name | Description |
---|---|---|
SessionWarningReason | reason | Warning reason |
string | description | Warning description |
IMessage | message |
Properties
Description
Warning description.
Declaration
public string Description { get; }
Property Value
Type | Description |
---|---|
string | Warning description |
IncomingMessage
This property is valid only during this event callback.
Declaration
public IMessage IncomingMessage { get; }
Property Value
Type | Description |
---|---|
IMessage |
Reason
Warning reason.
Declaration
public SessionWarningReason Reason { get; }
Property Value
Type | Description |
---|---|
SessionWarningReason | Warning 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. |