Class TimeMessage
- Namespace
- StockSharp.Messages
- Assembly
- StockSharp.Messages.dll
The message contains information about the current time.
[DataContract]
public class TimeMessage : Message, IMessage, ILocalTimeMessage, ICloneable, ITransactionIdMessage, IServerTimeMessage
- Inheritance
-
TimeMessage
- Implements
- Inherited Members
- Extension Methods
Constructors
TimeMessage()
Initializes a new instance of the TimeMessage.
public TimeMessage()
TimeMessage(MessageTypes)
Initializes a new instance of the TimeMessage.
protected TimeMessage(MessageTypes type)
Parameters
type
MessageTypesMessage type.
Properties
OriginalTransactionId
ID of the original message TransactionId for which this message is a response.
[DataMember]
public string OriginalTransactionId { get; set; }
Property Value
ServerTime
Server time.
[DataMember]
public DateTimeOffset ServerTime { get; set; }
Property Value
TransactionId
Request identifier.
[DataMember]
public long TransactionId { get; set; }
Property Value
Methods
Clone()
Create a copy of TimeMessage.
public override Message Clone()
Returns
- Message
Copy.
ToString()
public override string ToString()