SessionResubscribe Method (IListSubscription, Int32, String, SubscriptionPreprocessMode) |
Modifies each subscription in the subscriptionList
to reflect the modified options specified for it.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.19.2.1
Syntax public IList<SubscriptionPreprocessError> Resubscribe(
IList<Subscription> subscriptionList,
int resubId,
string requestLabel,
SubscriptionPreprocessMode mode
)
Public Function Resubscribe (
subscriptionList As IList(Of Subscription),
resubId As Integer,
requestLabel As String,
mode As SubscriptionPreprocessMode
) As IList(Of SubscriptionPreprocessError)
public:
virtual IList<SubscriptionPreprocessError^>^ Resubscribe(
IList<Subscription^>^ subscriptionList,
int resubId,
String^ requestLabel,
SubscriptionPreprocessMode mode
) sealed
abstract Resubscribe :
subscriptionList : IList<Subscription> *
resubId : int *
requestLabel : string *
mode : SubscriptionPreprocessMode -> IList<SubscriptionPreprocessError>
override Resubscribe :
subscriptionList : IList<Subscription> *
resubId : int *
requestLabel : string *
mode : SubscriptionPreprocessMode -> IList<SubscriptionPreprocessError>
Parameters
- subscriptionList
- Type: System.Collections.GenericIListSubscription
A list of active subscriptions whose options need to be changed.
- resubId
- Type: SystemInt32
An integer that identifies this request and appears in the
SUBSCRIPTION_STATUS event.
- requestLabel
- Type: SystemString
A label that defines a string which will be recorded along with
any diagnostics for this operation.
- mode
- Type: Bloomberglp.BlpapiSubscriptionPreprocessMode
Determines how to preprocess subscriptions. Refer to
SubscriptionPreprocessMode for an explanation of
the available modes.
Return Value
Type:
IListSubscriptionPreprocessError
A list of
SubscriptionPreprocessErrors or a
null list depending on
mode.
Refer to
SubscriptionPreprocessMode for more details.
Implements
ISessionResubscribe(IListSubscription, Int32, String, SubscriptionPreprocessMode)Exceptions 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
resubId.
See Also