ProtoErrorRes

StockSharp.cTrader.Native.Model

* Error response that is sent from Open API proxy when error occurs.

实现: IMessage<ProtoErrorRes>, IMessage, IEquatable<ProtoErrorRes>, IDeepCloneable<ProtoErrorRes>, IBufferMessage

属性

Description : string

Error description.

ErrorCode : string

Contains name of ProtoErrorCode or other custom ErrorCodes (e.g. ProtoCHErrorCode).

HasDescription : bool

Gets whether the "description" field is set

HasErrorCode : bool

Gets whether the "errorCode" field is set

HasMaintenanceEndTimestamp : bool

Gets whether the "maintenanceEndTimestamp" field is set

HasPayloadType : bool

Gets whether the "payloadType" field is set

MaintenanceEndTimestamp : ulong

The Unix time in milliseconds of the end of the maintenance.

方法

ClearDescription()

Clears the value of the "description" field

ClearErrorCode()

Clears the value of the "errorCode" field

ClearMaintenanceEndTimestamp()

Clears the value of the "maintenanceEndTimestamp" field

ClearPayloadType()

Clears the value of the "payloadType" field

字段

DescriptionFieldNumber : int

Field number for the "description" field.

ErrorCodeFieldNumber : int

Field number for the "errorCode" field.

MaintenanceEndTimestampFieldNumber : int

Field number for the "maintenanceEndTimestamp" field.

PayloadTypeFieldNumber : int

Field number for the "payloadType" field.