Bloomberg API for .NET
Resubscribe Method (subscriptionList, resubId, requestLabel)
NamespacesBloomberglp.BlpapiSessionResubscribe(IList<(Of <<'(Subscription>)>>), Int32, String)
Modifies each subscription in the specified subscriptionList to reflect the modified options specified for it.
Declaration Syntax
C#Visual BasicVisual C++
public void Resubscribe(
	IList<Subscription> subscriptionList,
	int resubId,
	string requestLabel
)
Public Sub Resubscribe ( 
	subscriptionList As IList(Of Subscription),
	resubId As Integer,
	requestLabel As String
)
public:
void Resubscribe(
	IList<Subscription^>^ subscriptionList, 
	int resubId, 
	String^ requestLabel
)
Parameters
subscriptionList (IList<(Of <(<'Subscription>)>)>)
A list of active subscriptions whose options need to be changed.
resubId (Int32)
An integer that identifies this request and appears in the SUBSCRIPTION_STATUS event.
requestLabel (String)
A label that defines a string which will be recorded along with any diagnostics for this operation.
Remarks
For each entry in the subscriptionList the CorrelationID identifies a current "active" subscription the modified options replace the current options for the subscription and a SUBSCRIPTION_STATUS event will be generated in the event stream before the first update based on the new options. The message of the event contains the specified resubId.
Exceptions
ExceptionCondition
InvalidOperationException The session is not started.
NotFoundException Any of the CorrelationIDs specified in the subscriptionList is not a valid subscription.

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