Table of Contents

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 MessageTypes

Message type.

Properties

Command

Command.

[DataMember]
public CommandTypes Command { get; set; }

Property Value

CommandTypes

DataType

Data type info.

public override DataType DataType { get; }

Property Value

DataType

ObjectId

Identifier.

[DataMember]
public string ObjectId { get; set; }

Property Value

string

Parameters

Parameters.

public IDictionary<string, string> Parameters { get; }

Property Value

IDictionary<string, string>

Scope

Scope.

[DataMember]
public CommandScopes Scope { get; set; }

Property Value

CommandScopes

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 CommandMessage

The object, to which copied information.

ToString()

public override string ToString()

Returns

string