Initiates a request to receive asynchronous updates
to the specified topics.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public void Subscribe( IList<Subscription> subscriptionList, Identity identity )
Public Sub Subscribe ( subscriptionList As IList(Of Subscription), identity As Identity )
public: void Subscribe( IList<Subscription^>^ subscriptionList, Identity^ identity )
Parameters
- subscriptionList (IList<(Of <(<'Subscription>)>)>)
- A list of subscription strings to subscribe.
- identity (Identity)
- The handle to the user for whom this subscription is being initiated.
Remarks
This is the same as calling
Subscribe(subscriptionList, identity, null).
Exceptions
Exception | Condition |
---|---|
InvalidOperationException |
The session is not started.
|
DuplicateCorrelationIDException |
Any of the correlationIds specified in the subscriptionList is not unique.
|
ArgumentException |
The specified Identity was not created through this Session.
The specified 'subscriptionList' is null or empty.
|
Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.9.6.1