Click or drag to resize
Message Properties

The Message type exposes the following members.

Properties
  NameDescription
Public propertyAsElement
Gets the contents of this Message as a read-only Element.
Public propertyCorrelationID
Gets the correlationId associated with this message.
Public propertyCorrelationIDs
Gets an enumerable collection of all collectionIds associated with this message.
Public propertyElements
Gets the enumerable collection of elements.
Public propertyFragmentType
Gets the fragment type of this message.
Public propertyIsValid
Return true if the message is valid.
Public propertyItemString
This is the same as calling GetElement(name).
Public propertyItemString, Int32
This is the same as calling GetElement(name). GetValue(index).
Public propertyMessageType
Gets the Name constant representing the type of the message.
Public propertyNumCorrelationIDs
Gets the number of correlation ids associated with this message.
Public propertyNumElements
Gets the number of elements contained by this message.
Public propertyRecapType
Gets the recap type of this message.
Public propertyService
Gets the Service associated with this message. Returns null if this method is not associated with a service.
Public propertyTimeReceived
Gets the timestamp in System.DateTime in UTC, when the message was received by the library. The value is
DateTime(0)
if the timestamp is not present.
Public propertyTopicName
Gets the topic string associated with this message. Returns an empty string if there is no topic associated with this message.
Top
See Also