DataSource.NET
AddMessage Method (message)
NamespacesCaplin.DataSource.Messaging.WrapperIWrapperMessageAddMessage(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.
Declaration Syntax
C#Visual BasicVisual C++
void AddMessage(
	IMessage message
)
Sub AddMessage ( _
	message As IMessage _
)
void AddMessage(
	IMessage^ message
)
Parameters
message (IMessage)
The message to add to the wrapper
Exceptions
ExceptionCondition
ExceptionWhen the message added is a different type to the first one added

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