SessionSubscribe Method (IListSubscription, String) |
Initiates a request to receive asynchronous updates to the
specified topics.
The session identity will be used if it's been authorized.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.17.0.1
Syntax public void Subscribe(
IList<Subscription> subscriptionList,
string requestLabel
)
Public Sub Subscribe (
subscriptionList As IList(Of Subscription),
requestLabel As String
)
public:
virtual void Subscribe(
IList<Subscription^>^ subscriptionList,
String^ requestLabel
) sealed
abstract Subscribe :
subscriptionList : IList<Subscription> *
requestLabel : string -> unit
override Subscribe :
subscriptionList : IList<Subscription> *
requestLabel : string -> unit
Parameters
- subscriptionList
- Type: System.Collections.GenericIListSubscription
A list of subscription strings to subscribe
- requestLabel
- Type: SystemString
A label that defines a string which will be recorded along with
any diagnostics for this operation.
Implements
ISessionSubscribe(IListSubscription, String)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.
|
Remarks See Also