Table of Contents

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 MessageTypes

Message type.

Properties

OriginalTransactionId

ID of the original message TransactionId for which this message is a response.

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

Property Value

string

ServerTime

Server time.

[DataMember]
public DateTimeOffset ServerTime { get; set; }

Property Value

DateTimeOffset

TransactionId

Request identifier.

[DataMember]
public long TransactionId { get; set; }

Property Value

long

Methods

Clone()

Create a copy of TimeMessage.

public override Message Clone()

Returns

Message

Copy.

ToString()

public override string ToString()

Returns

string