| SessionSubscribe Method (IListSubscription, String) |
Initiates a request to receive asynchronous updates to the specified topics.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.25.11.64-experimental+d519cd77c15f00eb425bcde0dbe3273921f5910b
Syntaxpublic 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