SessionResubscribe Method (IListSubscription, String) |
Modifies each subscription in the specified subscriptionList to reflect
the modified options specified for it.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.11.1
Syntax public void Resubscribe(
IList<Subscription> subscriptionList,
string requestLabel
)
Public Sub Resubscribe (
subscriptionList As IList(Of Subscription),
requestLabel As String
)
public:
virtual void Resubscribe(
IList<Subscription^>^ subscriptionList,
String^ requestLabel
) sealed
abstract Resubscribe :
subscriptionList : IList<Subscription> *
requestLabel : string -> unit
override Resubscribe :
subscriptionList : IList<Subscription> *
requestLabel : string -> unit
Parameters
- subscriptionList
- Type: System.Collections.GenericIListSubscription
A list of active subscriptions whose options need to be changed.
- requestLabel
- Type: SystemString
A label that defines a string which will be recorded along with
any diagnostics for this operation.
Implements
ISessionResubscribe(IListSubscription, String)Exceptions Exception | Condition |
---|
InvalidOperationException |
The session is not started.
|
NotFoundException |
Any of the CorrelationIDs specified in subscriptionList
is not a valid subscription.
|
ArgumentException | subscriptionList is null or empty, or the
SubscriptionString of an entry
in the subscriptionList is invalid.
|
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.
See Also