DataSource.NET
IWrapperMessage Interface
NamespacesCaplin.DataSource.Messaging.WrapperIWrapperMessage
Interface for wrapping multiple messages of the same type together into one message.
Declaration Syntax
C#Visual BasicVisual C++
public interface IWrapperMessage : IMessage
Public Interface IWrapperMessage _
	Implements IMessage
public interface class IWrapperMessage : IMessage
Members
All MembersMethodsProperties



IconMemberDescription
AddMessage(IMessage)
Adds a message to the WrapperMessage, the first message defines the message type. If another message of a different type to the first message is added, then an Exception is thrown.

Image
Gets or sets a boolean value indicating whether this IMessage represents an image or an update.
(Inherited from IMessage.)
Messages
Returns the list of messages in the order they were added.

Subject
Gets the subject of this message.
(Inherited from IMessage.)
Remarks

WrapperMessages are only useful for wrapping RecordType2Message, RecordType3Message and PermissionMessages. WrapperMessages are be published as one merged update by DataSource. A WrapperMessage will ignore any

CopyC#
setImage
and
CopyC#
setNonActive
flags from any added messages, instead the
CopyC#
setImage
and
CopyC#
setNoneActive
flags must be set on the WrapperMessage itself.

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