Interface for sending Generic messages, adding fields by name and value.
![](../icons/collapse_all.gif)
C# | Visual Basic | Visual C++ |
public interface IGenericMessage : IRecordMessage, IMessage
Public Interface IGenericMessage _ Implements IRecordMessage, IMessage
public interface class IGenericMessage : IRecordMessage, IMessage
![](../icons/collapse_all.gif)
All Members | Methods | Properties | |||
Icon | Member | Description |
---|---|---|
![]() | AddLatencyChainPoint(String, Int64) |
Adds a latency chain point
(Inherited from IRecordMessage.) |
![]() | ClearFields()()() |
Removes all the fields
(Inherited from IRecordMessage.) |
![]() | ContainsField(String) |
Determines whether the message contains the specified field
(Inherited from IRecordMessage.) |
![]() | Fields |
Gets the fields within this mesasge.
(Inherited from IRecordMessage.) |
![]() | Image |
Gets or sets a boolean value indicating whether this IMessage represents an image or an update.
(Inherited from IMessage.) |
![]() | InitialLatencyChainTime |
Sets the initial time for latency chaining.
(Inherited from IRecordMessage.) |
![]() | Item[([(String])]) |
Gets or sets a specified field.
(Inherited from IRecordMessage.) |
![]() | NoCache |
Gets or sets whether this generic message should be cached in the DataSource (both remote and local ).
|
![]() | RemoveField(String) |
Removes the given field from this RecordMessage.
(Inherited from IRecordMessage.) |
![]() | SetField(String, String) |
Sets the value of a specified field.
(Inherited from IRecordMessage.) |
![]() | Subject |
Gets the subject of this message.
(Inherited from IMessage.) |
![](../icons/collapse_all.gif)
IGenericMessage behaves according to the IRecordMessage interface, so calling Fields()()() on a IGenericMessage returns an identical list of fields to a properly configured adapter using a RecordType1Message.
While GenericMessage behave similarly to RecordType1Message, it eliminates the need to provide field mappings in fields.conf. This may be useful when receiving updates from a provider which supplies a variable or unknown number of fields.