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

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

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.

Return Value

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