Click or drag to resize
IAbstractSessionOpenServiceAsync Method (String, CorrelationID)
Initiates an asynchronous request to open a service.

Once the request has completed, a SERVICE_STATUS event will be generated indicating the result of the request. The correlationId will be returned in generated message. It can also be used to cancel this request before it completes by calling Cancel(CorrelationID).

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.11.1
Syntax
void OpenServiceAsync(
	string serviceName,
	CorrelationID correlationId
)

Parameters

serviceName
Type: SystemString
The name of the service that is to be opened.

Must be a fully qualified service name. That is, it must be in the form of "//[namespace]/[service-name]".

correlationId
Type: Bloomberglp.BlpapiCorrelationID
A correlation Id for correlating this request.

Must not already be in use.

See Also