Click or drag to resize
ISessionResubscribe Method (IListSubscription, Int32, String, SubscriptionPreprocessMode)
Modifies subscriptions to reflect the modified options specified for them.

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.4.1
Syntax
IList<SubscriptionPreprocessError> Resubscribe(
	IList<Subscription> subscriptionList,
	int resubId,
	string requestLabel,
	SubscriptionPreprocessMode mode
)

Parameters

subscriptionList
Type: System.Collections.GenericIListSubscription
A list of active subscriptions whose options need to be changed.
resubId
Type: SystemInt32
Identifies this request and appears in the SUBSCRIPTION_STATUS event.
requestLabel
Type: SystemString
A label 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.
Remarks
Each entry has a CorrelationID which must identify an active subscription. The modified options replace the current options for that subscription and a SUBSCRIPTION_STATUS event will be generated before the first update based on the new options. The message of the event contains resubId.
See Also