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

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.7.1
Syntax
public CorrelationID SendRequest(
	Request request,
	Identity identity,
	CorrelationID correlationId,
	string requestLabel
)

Parameters

request
Type: Bloomberglp.BlpapiRequest
A filled in request that needs to be sent to the service.
identity
Type: Bloomberglp.BlpapiIdentity
A handle to the user whose privileges are to be used for this request.
correlationId
Type: Bloomberglp.BlpapiCorrelationID
A correlationId to be used to match the response.
requestLabel
Type: SystemString
A label that defines a string which will be recorded along with any diagnostics for this operation.

Return Value

Type: CorrelationID

Implements

ISessionSendRequest(Request, Identity, CorrelationID, String)
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.
ArgumentException The specified Identity was not created through this Session
Remarks
This method is the same as calling SendRequest with a null EventQueue.
See Also