Sends the specified authorizationRequest and update the specified
identity with the results.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public CorrelationID SendAuthorizationRequest( Request request, Identity identity, EventQueue eventQueue, CorrelationID correlationId )
Public Function SendAuthorizationRequest ( request As Request, identity As Identity, eventQueue As EventQueue, correlationId As CorrelationID ) As CorrelationID
public: CorrelationID^ SendAuthorizationRequest( Request^ request, Identity^ identity, EventQueue^ eventQueue, CorrelationID^ correlationId )
Parameters
- request (Request)
- Filled in authorization request that needs to be sent to the authorization service.
- identity (Identity)
- A handle to identify the user that is being authorized.
- eventQueue (EventQueue)
- The event queue to be used to receive response events for this request.
- correlationId (CorrelationID)
- The correlator to be used for correlating the response to this request.
Return Value
CorrelationID
An internally generated CorrelationID if the specified correlationId is null or return the specified correlationId.
An internally generated CorrelationID if the specified correlationId is null or return the specified correlationId.
Remarks
Exceptions
Exception | Condition |
---|---|
InvalidOperationException |
The session is not started.
|
InvalidRequestException |
The request is not compliant with the schema for the request.
|
DuplicateCorrelationIDException |
The specified correlationId is already active for this Session.
|
ArgumentException |
if the specified Identity was not created through this Session
|
Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.9.6.1