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.

Implementiert: IMessage<ProtoOAClientDisconnectEvent>, IMessage, IEquatable<ProtoOAClientDisconnectEvent>, IDeepCloneable<ProtoOAClientDisconnectEvent>, IBufferMessage

Eigenschaften

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.

Methoden

ClearPayloadType()

Clears the value of the "payloadType" field

ClearReason()

Clears the value of the "reason" field

Felder

PayloadTypeFieldNumber : int

Field number for the "payloadType" field.

ReasonFieldNumber : int

Field number for the "reason" field.