DataSource.NET
IGenericMessage Interface
NamespacesCaplin.DataSource.Messaging.RecordIGenericMessage
Interface for sending Generic messages, adding fields by name and value.
Declaration Syntax
C#Visual BasicVisual C++
public interface IGenericMessage : IRecordMessage, 
	IMessage
Public Interface IGenericMessage _
	Implements IRecordMessage, IMessage
public interface class IGenericMessage : IRecordMessage, 
	IMessage
Members
All MembersMethodsProperties



IconMemberDescription
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.)
Remarks

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.

Assembly: DataSource.NET (Module: DataSource.NET) Version: 6.2.6.2123 (6.2.6.2123)