Click or drag to resize
IProviderSessionRegisterServiceAsync Method (String, Identity, CorrelationID, ServiceRegistrationOptions)
Begins the process of registering a service and and returns immediately.

The application must monitor events for a SERVICE_STATUS event which will be generated once the service has been successfully registered or registration has failed.

When providerIdentity is null the session identity will be used if it's been authorized.

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.19.2.1
Syntax
CorrelationID RegisterServiceAsync(
	string uri,
	Identity providerIdentity,
	CorrelationID correlationId,
	ServiceRegistrationOptions registrationOptions
)

Parameters

uri
Type: SystemString
The URI of the service to register.

The URI must begin with a full qualified service name. That is, it must begin with "//{namespace}/{service-name}[/]". Any portion of the URI after the service name is ignored.

providerIdentity
Type: Bloomberglp.BlpapiIdentity
Used to verify permissions to provide the service being registered.
correlationId
Type: Bloomberglp.BlpapiCorrelationID
The CorrelationID object that will identify Message objects generated as a result of this call.

Must not already be in use.

registrationOptions
Type: Bloomberglp.BlpapiServiceRegistrationOptions
Specify options like group ID, service priority and parts of the service being registered.

Return Value

Type: CorrelationID
The CorrelationID object that will identify Message objects generated as a result of this call. This will be correlationId if it was provided.
See Also