Appends a (empty) message of the specified 'messageType' that will
be published under the specified 'topic' with the specified
'sequenceNumber' to the event referenced by
this EventFormatter. After a
message has been appended its elements can be set using the various
'SetElement' methods. The behavior is undefined unless the
'sequenceNumber' is greater (unless the value wrapped) than the
last value used in any previous message on this 'topic'.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public void AppendMessage( Name messageType, Topic topic, Nullable<int> sequenceNumber )
Public Sub AppendMessage ( messageType As Name, topic As Topic, sequenceNumber As Nullable(Of Integer) )
public: void AppendMessage( Name^ messageType, Topic^ topic, Nullable<int> sequenceNumber )
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.
|
Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.9.6.1