SessionSubscribe Method (IListSubscription, Identity) |
Initiates a request to receive asynchronous updates
to the specified topics.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.17.0.1
Syntax public void Subscribe(
IList<Subscription> subscriptionList,
Identity identity
)
Public Sub Subscribe (
subscriptionList As IList(Of Subscription),
identity As Identity
)
public:
virtual void Subscribe(
IList<Subscription^>^ subscriptionList,
Identity^ identity
) sealed
abstract Subscribe :
subscriptionList : IList<Subscription> *
identity : Identity -> unit
override Subscribe :
subscriptionList : IList<Subscription> *
identity : Identity -> unit
Parameters
- subscriptionList
- Type: System.Collections.GenericIListSubscription
A list of subscription strings to subscribe.
- identity
- Type: Bloomberglp.BlpapiIdentity
The handle to the user for whom this subscription is
being initiated.
Implements
ISessionSubscribe(IListSubscription, Identity)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.
|
Remarks See Also