EventFormatterAppendMessage Method (String, Topic, NullableInt32) |
Note: This API is now obsolete.
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'.
Deprecated, use
AppendMessage(Name, Topic, NullableInt32) instead.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.11.1
Syntax [ObsoleteAttribute("Deprecated, use AppendMessage(Name, Topic, int?) instead.")]
public void AppendMessage(
string messageType,
Topic topic,
Nullable<int> sequenceNumber
)
<ObsoleteAttribute("Deprecated, use AppendMessage(Name, Topic, int?) instead.")>
Public Sub AppendMessage (
messageType As String,
topic As Topic,
sequenceNumber As Nullable(Of Integer)
)
public:
[ObsoleteAttribute(L"Deprecated, use AppendMessage(Name, Topic, int?) instead.")]
void AppendMessage(
String^ messageType,
Topic^ topic,
Nullable<int> sequenceNumber
)
[<ObsoleteAttribute("Deprecated, use AppendMessage(Name, Topic, int?) instead.")>]
member AppendMessage :
messageType : string *
topic : Topic *
sequenceNumber : Nullable<int> -> unit
Parameters
- messageType
- Type: SystemString
the name of the message type that needs
to be added - topic
- Type: Bloomberglp.BlpapiTopic
the corresponding topic - sequenceNumber
- Type: SystemNullableInt32
the sequence number for this message
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