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