Bloomberg API for .NET
Cancel Method (correlationId, requestLabel)
NamespacesBloomberglp.BlpapiAbstractSessionCancel(CorrelationID, String)
Cancels an outstanding request or a subscription represented by the specified correlationId.
Declaration Syntax
C#Visual BasicVisual C++
public void Cancel(
	CorrelationID correlationId,
	string requestLabel
)
Public Sub Cancel ( 
	correlationId As CorrelationID,
	requestLabel As String
)
public:
void Cancel(
	CorrelationID^ correlationId, 
	String^ requestLabel
)
Parameters
correlationId (CorrelationID)
requestLabel (String)
Remarks
This operation provides a convenience of passing a single CorrelationID. See Cancel(IList<(Of <<'(CorrelationID>)>>), 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.7.4.1