Click or drag to resize
SessionUnsubscribe Method (IListSubscription, String)
Cancels previous requests for asynchronous topic updates associated with the correlation ids listed in the specified subscriptionList.

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.13.2.1
Syntax
public void Unsubscribe(
	IList<Subscription> subscriptionList,
	string requestLabel
)

Parameters

subscriptionList
Type: System.Collections.GenericIListSubscription
A list of correlationIds of subscriptions that are to be unsubscribed.
requestLabel
Type: SystemString
A label that defines a string which will be recorded along with any diagnostics for this operation.
Exceptions
ExceptionCondition
InvalidOperationException Session is not started.
Remarks
This operation provides a convenience for cancelling Subscriptions using a list of subscriptions.

See Cancel(IList, string) operation for more information on the handling of cancel requests and other important notes.

See Also