Bloomberg API for .NET
GenerateToken Method (correlationId)
NamespacesBloomberglp.BlpapiAbstractSessionGenerateToken(CorrelationID)
Return a generated token to be used for authorization.
Declaration Syntax
C#Visual BasicVisual C++
public CorrelationID GenerateToken(
	CorrelationID correlationId
)
Public Function GenerateToken ( 
	correlationId As CorrelationID
) As CorrelationID
public:
CorrelationID^ GenerateToken(
	CorrelationID^ correlationId
)
Parameters
correlationId (CorrelationID)
Return Value
CorrelationID
a CorrelationID for this asynchronous openService request.
Remarks
Generate a token to be used for authorization
Exceptions
ExceptionCondition
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.8.10.1