AbstractSessionGenerateToken Method (CorrelationID) |
Return a generated token to be used for authorization.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.8.1
Syntax public CorrelationID GenerateToken(
CorrelationID correlationId
)
Public Function GenerateToken (
correlationId As CorrelationID
) As CorrelationID
public:
virtual CorrelationID^ GenerateToken(
CorrelationID^ correlationId
) sealed
abstract GenerateToken :
correlationId : CorrelationID -> CorrelationID
override GenerateToken :
correlationId : CorrelationID -> CorrelationID
Parameters
- correlationId
- Type: Bloomberglp.BlpapiCorrelationID
Return Value
Type:
CorrelationID a CorrelationID for this asynchronous openService request.
Implements
IAbstractSessionGenerateToken(CorrelationID)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.
|
Remarks
Generate a token to be used for authorization
See Also