Click or drag to resize
SessionSendRequest Method (RequestTemplate, CorrelationID)
Send a request defined by the specified 'requestTemplate'. If the optionally specified 'correlationId' is supplied, use it otherwise create a new 'CorrelationId'. The actual 'CorrelationId' used is returned. A successful request will generate zero or more 'PARTIAL_RESPONSE' events followed by exactly one 'RESPONSE' event. Once the final 'RESPONSE' event has been received the 'CorrelationId' associated with this request may be re-used. If the request fails at any stage a 'REQUEST_STATUS' will be generated after which the 'CorrelationId' associated with the request may be re-used.

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.11.1
Syntax
public CorrelationID SendRequest(
	RequestTemplate requestTemplate,
	CorrelationID correlationId
)

Parameters

requestTemplate
Type: Bloomberglp.BlpapiRequestTemplate
The request template used for sending a request
correlationId
Type: Bloomberglp.BlpapiCorrelationID
The correlation id used for delivering a response

Return Value

Type: CorrelationID
An internally generated CorrelationID if the specified correlationId is null or return the specified correlationId

Implements

ISessionSendRequest(RequestTemplate, CorrelationID)
Exceptions
ExceptionCondition
DuplicateCorrelationIDException Thrown if correlationId is already in use
See Also