Bloomberg API for .NET
SendRequest Method (request, eventQueue, correlationId, requestLabel)
NamespacesBloomberglp.BlpapiSessionSendRequest(Request, EventQueue, CorrelationID, String)
Sends the specified request to a service using this session.
Declaration Syntax
C#Visual BasicVisual C++
public CorrelationID SendRequest(
	Request request,
	EventQueue eventQueue,
	CorrelationID correlationId,
	string requestLabel
)
Public Function SendRequest ( 
	request As Request,
	eventQueue As EventQueue,
	correlationId As CorrelationID,
	requestLabel As String
) As CorrelationID
public:
CorrelationID^ SendRequest(
	Request^ request, 
	EventQueue^ eventQueue, 
	CorrelationID^ correlationId, 
	String^ requestLabel
)
Parameters
request (Request)
Filled in request that needs to be sent to the service.
eventQueue (EventQueue)
An event queue to be used to receive response events for this request.
correlationId (CorrelationID)
A correlationId to be used to match the response.
requestLabel (String)
A label that defines a string which will be recorded along with any diagnostics for this operation.
Return Value
Remarks
This method is the same as calling SendRequest with a null Identity.
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.

Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.9.6.1