| 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
Syntaxpublic static IMessageFormatter AppendMessage(
Event event,
SchemaElementDefinition elementDefinition,
MessageProperties properties
)
Public Shared Function AppendMessage (
event As Event,
elementDefinition As SchemaElementDefinition,
properties As MessageProperties
) As IMessageFormatter
public:
static IMessageFormatter^ AppendMessage(
Event^ event,
SchemaElementDefinition^ elementDefinition,
MessageProperties^ properties
)
static member AppendMessage :
event : Event *
elementDefinition : SchemaElementDefinition *
properties : MessageProperties -> IMessageFormatter
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