ProtoOAClientDisconnectEvent

StockSharp.cTrader.Native.Model

* Event that is sent when the connection with the client application is cancelled by the server. All the sessions for the traders' accounts will be terminated.

Реализует: IMessage<ProtoOAClientDisconnectEvent>, IMessage, IEquatable<ProtoOAClientDisconnectEvent>, IDeepCloneable<ProtoOAClientDisconnectEvent>, IBufferMessage

Свойства

HasPayloadType : bool

Gets whether the "payloadType" field is set

HasReason : bool

Gets whether the "reason" field is set

Reason : string

The disconnection reason explained. For example: The application access was blocked by cTrader Administrator.

Методы

ClearPayloadType()

Clears the value of the "payloadType" field

ClearReason()

Clears the value of the "reason" field

Поля

PayloadTypeFieldNumber : int

Field number for the "payloadType" field.

ReasonFieldNumber : int

Field number for the "reason" field.