Bloomberg API for .NET
SendRequest Method (request, correlationId)
NamespacesBloomberglp.BlpapiSessionSendRequest(Request, CorrelationID)
Sends the specified request to a service using this session.
Declaration Syntax
C#Visual BasicVisual C++
public CorrelationID SendRequest(
	Request request,
	CorrelationID correlationId
)
Public Function SendRequest ( 
	request As Request,
	correlationId As CorrelationID
) As CorrelationID
public:
CorrelationID^ SendRequest(
	Request^ request, 
	CorrelationID^ correlationId
)
Parameters
request (Request)
A filled in request that needs to be sent to the service.
correlationId (CorrelationID)
A correlationId to be used to match the response.
Return Value
Remarks
This method is the same as calling SendRequest with a null Identity, EventQueue and a null request label.
Exceptions
ExceptionCondition
InvalidOperationException The session is not started.
InvalidRequestException The request is not compliant with the schema for 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.8.10.1