EventFormatterAppendMessage Method (Name, Topic) |
Appends a (empty) message of the specified 'messageType' that will
be published under the specified 'topic' to the event referenced by
this
EventFormatter. After a
message has been appended its elements can be set using the various
'SetElement' methods.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.8.1
Syntax public void AppendMessage(
Name messageType,
Topic topic
)
Public Sub AppendMessage (
messageType As Name,
topic As Topic
)
public:
void AppendMessage(
Name^ messageType,
Topic^ topic
)
member AppendMessage :
messageType : Name *
topic : Topic -> unit
Parameters
- messageType
- Type: Bloomberglp.BlpapiName
the name of the message type that needs
to be added - topic
- Type: Bloomberglp.BlpapiTopic
the corresponding topic
Exceptions Exception | Condition |
---|
NotFoundException |
The specified 'messageType' is not found in the publish schema.
|
InvalidOperationException |
The operating stack is not empty.
|
ArgumentException |
The specified event is not a publish event.
The specified topic is not valid.
|
See Also