Click or drag to resize
ISessionSubscribe Method (IListSubscription, Identity, String)
Initiates a request to receive asynchronous updates to the specified topics.

Upon completion of this request a SUBSCRIPTION_STATUS event will be published for each topic in the subscription list containing a message with the result for one topic. A "SubscriptionStarted" message will be generated if the subscription was successfully initiated. If the subscription fails for any topic a "SubscriptionFailure" message containing the failure reason will be generated.

Any subscriptions in subscriptionList which were not given a application generated CorrelationID will have a session generated CorrelationID set.

Multiple subscriptions to the same subscription string are valid and each will have their own, unique CorrelationID.

In the case of an exception none of the subscriptions will be processed.

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.18.1.1
Syntax
void Subscribe(
	IList<Subscription> subscriptionList,
	Identity identity,
	string requestLabel
)

Parameters

subscriptionList
Type: System.Collections.GenericIListSubscription
A list of Subscription to subscribe.

Must not be null or empty.

The CorrelationID objects in the subscriptions must be unique and not in use.

identity
Type: Bloomberglp.BlpapiIdentity
The authorized user for whom this subscription is being initiated.

If null the session identity will be used if its been authorized.

requestLabel
Type: SystemString
A label which will be recorded along with any diagnostics for this operation.
See Also