Bloomberg API for .NET
SendRequest Method (request, identity, eventQueue, correlationId)
NamespacesBloomberglp.BlpapiSessionSendRequest(Request, Identity, EventQueue, CorrelationID)
Sends the specified request to a service using this session.
Declaration Syntax
C#Visual BasicVisual C++
public CorrelationID SendRequest(
	Request request,
	Identity identity,
	EventQueue eventQueue,
	CorrelationID correlationId
)
Public Function SendRequest ( 
	request As Request,
	identity As Identity,
	eventQueue As EventQueue,
	correlationId As CorrelationID
) As CorrelationID
public:
CorrelationID^ SendRequest(
	Request^ request, 
	Identity^ identity, 
	EventQueue^ eventQueue, 
	CorrelationID^ correlationId
)
Parameters
request (Request)
Filled in request that needs to be sent to the service.
identity (Identity)
A handle to the user whose privileges are to be used for this request.
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.
Return Value
CorrelationID
An internally generated CorrelationID if the specified correlationId is null or return the specified correlationId.
Remarks
This method is the same as calling SendRequest with a null request label string parameter.
Exceptions
ExceptionCondition
InvalidOperationException The session is not started.
InvalidRequestException The request is not compliant with the schema for the request.
IOException TAny error occurs while sending the request.
RequestQueueOverflowException This session has too many enqueued requests.
DuplicateCorrelationIDException The specified correlationId is already active for this Session.
ArgumentException The specified Identity was not created through this Session

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