Click or drag to resize

ExtensionsTryGetServerTime Method

Get message server time.

Namespace:  StockSharp.Messages
Assembly:  StockSharp.Messages (in StockSharp.Messages.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public static Nullable<DateTimeOffset> TryGetServerTime(
	this Message message
)

Parameters

message
Type: StockSharp.MessagesMessage
Message.

Return Value

Type: NullableDateTimeOffset
Server time. If the value is , the message does not contain the server time.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Message. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also