CommandMessage

StockSharp.Messages

Die Nachricht enthält Informationen über den Befehl zum Ändern des Zustands.

Erbt von: BaseRequestMessage

Konstruktoren

CommandMessage
public CommandMessage()
commandMessage = CommandMessage()

Initialisieren Sie CommandMessage.

CommandMessage
protected CommandMessage(MessageTypes type)
commandMessage = CommandMessage(type)

Initialisieren Sie CommandMessage.

type
Art der Meldung.

Eigenschaften

Command
public CommandTypes Command { get; set; }
value = commandMessage.Command
commandMessage.Command = value

Kommando.

DataType
public override DataType DataType { get; }
value = commandMessage.DataType

Die Art der Marktdaten, die durch eine bestimmte Speicherung betrieben werden.

ObjectId
public string ObjectId { get; set; }
value = commandMessage.ObjectId
commandMessage.ObjectId = value

Kennung.

Parameters
public IDictionary<string, string> Parameters { get; }
value = commandMessage.Parameters

Parameter.

Scope
public CommandScopes Scope { get; set; }
value = commandMessage.Scope
commandMessage.Scope = value

Anwendungsbereich.

Methoden

Clone
public override Message Clone()
result = commandMessage.Clone()

Erstellen Sie eine Kopie von CommandMessage.

Rückgabe: Kopie.

CopyTo
protected void CopyTo(CommandMessage destination)
commandMessage.CopyTo(destination)

Kopieren Sie die Nachricht in die .

destination
Das Objekt, auf das Informationen kopiert wurden.

Rückgabe: Das Objekt, auf das Informationen kopiert wurden.

ToString
public override string ToString()
result = commandMessage.ToString()

Konvertieren Sie in eine Liniendarstellung.

Rückgabe: String-Leistung.