Bloomberg API for .NET
Subscribe Method (subscriptionList, requestLabel)
NamespacesBloomberglp.BlpapiSessionSubscribe(IList<(Of <<'(Subscription>)>>), String)
Initiates a request to receive asynchronous updates to the specified topics.
Declaration Syntax
C#Visual BasicVisual C++
public void Subscribe(
	IList<Subscription> subscriptionList,
	string requestLabel
)
Public Sub Subscribe ( 
	subscriptionList As IList(Of Subscription),
	requestLabel As String
)
public:
void Subscribe(
	IList<Subscription^>^ subscriptionList, 
	String^ requestLabel
)
Parameters
subscriptionList (IList<(Of <(<'Subscription>)>)>)
A list of subscription strings to subscribe
requestLabel (String)
A label that defines a string which will be recorded along with any diagnostics for this operation.
Remarks
Exceptions
ExceptionCondition
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.

Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.8.10.1