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.19.2.1
Syntax public CorrelationID SendRequest(
RequestTemplate requestTemplate,
CorrelationID correlationId
)
Public Function SendRequest (
requestTemplate As RequestTemplate,
correlationId As CorrelationID
) As CorrelationID
public:
virtual CorrelationID^ SendRequest(
RequestTemplate^ requestTemplate,
CorrelationID^ correlationId
) sealed
abstract SendRequest :
requestTemplate : RequestTemplate *
correlationId : CorrelationID -> CorrelationID
override SendRequest :
requestTemplate : RequestTemplate *
correlationId : 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 See Also