Initiates a request to receive asynchronous updates to the specified
topics.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public void Subscribe( IList<Subscription> subscriptionList, string requestLabel )
Public Sub Subscribe ( subscriptionList As IList(Of Subscription), requestLabel As String )
public: void Subscribe( IList<Subscription^>^ subscriptionList, String^ requestLabel )
Parameters
- subscriptionList (IList<(Of <(<'Subscription>)>)>)
- A list of subscription strings to subscribe
- requestLabel (String)
- A label that defines a string which will be recorded along with any diagnostics for this operation.
Remarks
Same as calling
Subscribe(subscriptionList, null, requestLabel).
Exceptions
Exception | Condition |
---|---|
InvalidOperationException |
The session is not started.
|
DuplicateCorrelationIDException |
Any of the correlationIds specified in the subscriptionList is not unique.
|
ArgumentException |
The specified 'subscriptionList' is null or empty.
|
Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.8.10.1