Click or drag to resize
TestUtilAppendMessage Method (Event, SchemaElementDefinition, MessageProperties)
Creates a new message and appends it to the specified Event.

Namespace:  Bloomberglp.Blpapi.Test
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.17.0.1
Syntax
public static IMessageFormatter AppendMessage(
	Event event,
	SchemaElementDefinition elementDefinition,
	MessageProperties properties
)

Parameters

event
Type: Bloomberglp.BlpapiEvent
Must be a test Event created from CreateEvent(EventEventType).
elementDefinition
Type: Bloomberglp.BlpapiSchemaElementDefinition
Provides a schema to be used for verifying and encoding the contents of the message.
properties
Type: Bloomberglp.Blpapi.TestMessageProperties
Provides the metadata properties to be added to the appended message.

Return Value

Type: IMessageFormatter
Returns an IMessageFormatter that can be used to format the message that was appended.
See Also