Class CommandMessage
- Namespace
- StockSharp.Messages
- Assembly
- StockSharp.Messages.dll
The message contains information about command to change state.
[DataContract]
public class CommandMessage : BaseRequestMessage, ISubscriptionMessage, ITransactionIdMessage, IOriginalTransactionIdMessage, IMessage, ILocalTimeMessage, ICloneable
- Inheritance
-
CommandMessage
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
CommandMessage()
Initialize CommandMessage.
public CommandMessage()
CommandMessage(MessageTypes)
Initialize CommandMessage.
protected CommandMessage(MessageTypes type)
Parameters
type
MessageTypesMessage type.
Properties
Command
Command.
[DataMember]
public CommandTypes Command { get; set; }
Property Value
DataType
Data type info.
public override DataType DataType { get; }
Property Value
ObjectId
Identifier.
[DataMember]
public string ObjectId { get; set; }
Property Value
Parameters
Parameters.
public IDictionary<string, string> Parameters { get; }
Property Value
Scope
Scope.
[DataMember]
public CommandScopes Scope { get; set; }
Property Value
Methods
Clone()
Create a copy of CommandMessage.
public override Message Clone()
Returns
- Message
Copy.
CopyTo(CommandMessage)
Copy the message into the destination
.
protected void CopyTo(CommandMessage destination)
Parameters
destination
CommandMessageThe object, to which copied information.
ToString()
public override string ToString()