Bloomberg API for .NET
Unsubscribe Method (subscriptionList, requestLabel)
NamespacesBloomberglp.BlpapiSessionUnsubscribe(IList<(Of <<'(Subscription>)>>), String)
Cancels previous requests for asynchronous topic updates associated with the correlation ids listed in the specified subscriptionList.
Declaration Syntax
C#Visual BasicVisual C++
public void Unsubscribe(
	IList<Subscription> subscriptionList,
	string requestLabel
)
Public Sub Unsubscribe ( 
	subscriptionList As IList(Of Subscription),
	requestLabel As String
)
public:
void Unsubscribe(
	IList<Subscription^>^ subscriptionList, 
	String^ requestLabel
)
Parameters
subscriptionList (IList<(Of <(<'Subscription>)>)>)
A list of correlationIds of subscriptions that are to be unsubscribed.
requestLabel (String)
A label that defines a string which will be recorded along with any diagnostics for this operation.
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.

Exceptions
ExceptionCondition
InvalidOperationException Session is not started.

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