Return a generated token to be used for authorization.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public CorrelationID GenerateToken( CorrelationID correlationId, EventQueue eventQueue )
Public Function GenerateToken ( correlationId As CorrelationID, eventQueue As EventQueue ) As CorrelationID
public: CorrelationID^ GenerateToken( CorrelationID^ correlationId, EventQueue^ eventQueue )
Parameters
- correlationId (CorrelationID)
- eventQueue (EventQueue)
Return Value
CorrelationID
a CorrelationID for this asynchronous openService request.
a CorrelationID for this asynchronous openService request.
Remarks
Generate a token to be used for authorization
Exceptions
Exception | Condition |
---|---|
InvalidOperationException |
Session is not started.
|
ArgumentException |
Invalid authentication option is specified in session option or there is failure
to get authentication information based on authentication option.
|
DuplicateCorrelationIDException |
The specified correlationId is already active for this Session.
|
Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.9.6.1