AbstractSessionSendAuthorizationRequest Method (Request, Identity, IEventQueue, CorrelationID) |
Sends the specified authorizationRequest and update the specified
identity with the results.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.2.1
Syntax public CorrelationID SendAuthorizationRequest(
Request request,
Identity identity,
IEventQueue eventQueue,
CorrelationID correlationId
)
Public Function SendAuthorizationRequest (
request As Request,
identity As Identity,
eventQueue As IEventQueue,
correlationId As CorrelationID
) As CorrelationID
public:
virtual CorrelationID^ SendAuthorizationRequest(
Request^ request,
Identity^ identity,
IEventQueue^ eventQueue,
CorrelationID^ correlationId
) sealed
abstract SendAuthorizationRequest :
request : Request *
identity : Identity *
eventQueue : IEventQueue *
correlationId : CorrelationID -> CorrelationID
override SendAuthorizationRequest :
request : Request *
identity : Identity *
eventQueue : IEventQueue *
correlationId : CorrelationID -> CorrelationID
Parameters
- request
- Type: Bloomberglp.BlpapiRequest
Filled in authorization request that needs
to be sent to the authorization service.
- identity
- Type: Bloomberglp.BlpapiIdentity
A handle to identify the user that is being authorized.
- eventQueue
- Type: Bloomberglp.BlpapiIEventQueue
The event queue to be used to receive response events for this request.
- correlationId
- Type: Bloomberglp.BlpapiCorrelationID
The correlator to be used for correlating the
response to this request.
Return Value
Type:
CorrelationIDAn internally generated CorrelationID if the specified
correlationId is null or return the specified correlationId.
Implements
IAbstractSessionSendAuthorizationRequest(Request, Identity, IEventQueue, CorrelationID)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 or
it is the session identity.
|
Remarks See Also