Cancels an outstanding request or a subscription represented by the
specified correlationId.
Declaration Syntax
C# | Visual Basic | Visual 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
Exception | Condition |
---|---|
InvalidOperationException |
Session is not started.
|
Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.9.6.1