Click or drag to resize
SessionSendRequest Method (Request, IEventQueue, CorrelationID)
Sends the specified request to a service using this session.

The session identity will be used if it's been authorized.

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.2.1
Syntax
public CorrelationID SendRequest(
	Request request,
	IEventQueue eventQueue,
	CorrelationID correlationId
)

Parameters

request
Type: Bloomberglp.BlpapiRequest
A filled in request that needs to be sent to the service.
eventQueue
Type: Bloomberglp.BlpapiIEventQueue
An event queue to be used to receive response events for this request.
correlationId
Type: Bloomberglp.BlpapiCorrelationID
A correlationId to be used to match the response.

Return Value

Type: CorrelationID

Implements

ISessionSendRequest(Request, IEventQueue, CorrelationID)
Exceptions
ExceptionCondition
InvalidOperationException The session is not started.
InvalidRequestException The request is not compliant with the schema for the request.
IOException Any error occurs while sending the request.
RequestQueueOverflowException This session has too many enqueued requests.
DuplicateCorrelationIDException The specified correlationId is already active for this Session.
Remarks
This method is the same as calling SendRequest with a null Identity and a null request label string parameter.
See Also