CommandMessage
StockSharp.Messages
The message contains information about command to change state.
Inherits: BaseRequestMessage
Constructors
CommandMessage
protected CommandMessage(MessageTypes type)
commandMessage = CommandMessage(type)
Initialize CommandMessage.
- type
- Message type.
Properties
Command
public CommandTypes Command { get; set; }
value = commandMessage.Command
commandMessage.Command = value
Command.
ObjectId
public string ObjectId { get; set; }
value = commandMessage.ObjectId
commandMessage.ObjectId = value
Identifier.
Parameters
public IDictionary<string, string> Parameters { get; }
value = commandMessage.Parameters
Parameters.
Scope
public CommandScopes Scope { get; set; }
value = commandMessage.Scope
commandMessage.Scope = value
Scope.
Methods
Clone
public override Message Clone()
result = commandMessage.Clone()
Create a copy of CommandMessage.
Returns: Copy.
CopyTo
protected void CopyTo(CommandMessage destination)
commandMessage.CopyTo(destination)
Copy the message into the .
- destination
- The object, to which copied information.
Returns: The object, to which copied information.
ToString
public override string ToString()
result = commandMessage.ToString()
Преобразовать к строковому представлению.
Returns: Строковое представление.