Click or drag to resize

NewsMessage Class

The message contains information about the news.
Inheritance Hierarchy
SystemObject
  CloneableMessage
    StockSharp.MessagesMessage
      StockSharp.MessagesNewsMessage

Namespace:  StockSharp.Messages
Assembly:  StockSharp.Messages (in StockSharp.Messages.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
[SerializableAttribute]
public class NewsMessage : Message

The NewsMessage type exposes the following members.

Constructors
  NameDescription
Public methodNewsMessage
Initializes a new instance of the NewsMessage.
Top
Properties
  NameDescription
Public propertyAdapter
Source adapter. Can be .
(Inherited from Message.)
Public propertyBoardCode
Electronic board code.
Public propertyExtensionInfo
Extended information.
(Inherited from Message.)
Public propertyHeadline
Header.
Public propertyId
News ID.
Public propertyIsBack
Is loopback message.
(Inherited from Message.)
Public propertyLocalTime
Local timestamp when a message was received/created.
(Inherited from Message.)
Public propertyOfflineMode
Offline mode handling message.
(Inherited from Message.)
Public propertyOriginalTransactionId
ID of the original message TransactionId for which this message is a response.
Public propertyPriority
News priority.
Public propertySecurityId
Security ID, for which news have been published.
Public propertyServerTime
Time of news arrival.
Public propertySource
News source.
Public propertyStory
News text.
Public propertyType
Message type.
(Inherited from Message.)
Public propertyUrl
News link in the internet.
Top
Methods
  NameDescription
Public methodClone
Create a copy of NewsMessage.
(Overrides MessageClone.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Overrides MessageToString.)
Top
Extension Methods
  NameDescription
Public Extension MethodGetServerTime
Get message server time.
(Defined by Extensions.)
Public Extension MethodToNews
Cast NewsMessage to the News.
(Defined by MessageConverterHelper.)
Public Extension MethodTryGetServerTime
Get message server time.
(Defined by Extensions.)
Public Extension MethodTryInitLocalTime
Try to initialize LocalTime by CurrentTime.
(Defined by Extensions.)
Top
See Also