Class BaseResultMessage<TMessage>
- Namespace
- StockSharp.Messages
- Assembly
- StockSharp.Messages.dll
Base result message.
[DataContract]
public abstract class BaseResultMessage<TMessage> : Message, IMessage, ILocalTimeMessage, ICloneable, IOriginalTransactionIdMessage where TMessage : BaseResultMessage<TMessage>, new()
Type Parameters
TMessage
Message type.
- Inheritance
-
BaseResultMessage<TMessage>
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
BaseResultMessage(MessageTypes)
Initializes a new instance of the BaseResultMessage<TMessage>.
protected BaseResultMessage(MessageTypes type)
Parameters
type
MessageTypesMessage type.
Properties
OriginalTransactionId
ID of the original message TransactionId for which this message is a response.
[DataMember]
public long OriginalTransactionId { get; set; }
Property Value
Methods
Clone()
Create a copy of BaseResultMessage<TMessage>.
public override Message Clone()
Returns
- Message
Copy.
CopyTo(TMessage)
Copy the message into the destination
.
protected virtual void CopyTo(TMessage destination)
Parameters
destination
TMessageThe object, to which copied information.
ToString()
public override string ToString()