Click or drag to resize
ProviderSessionRegisterServiceAsync Method (String, Identity, CorrelationID, ServiceRegistrationOptions)
Begins the process of registering the service identified by serviceName with identity, CorrelationID and registration options. Returns immediately.

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.20.3.1
Syntax
public CorrelationID RegisterServiceAsync(
	string serviceName,
	Identity providerIdentity,
	CorrelationID correlationId,
	ServiceRegistrationOptions registrationOptions
)

Parameters

serviceName
Type: SystemString
providerIdentity
Type: Bloomberglp.BlpapiIdentity
correlationId
Type: Bloomberglp.BlpapiCorrelationID
registrationOptions
Type: Bloomberglp.BlpapiServiceRegistrationOptions

Return Value

Type: CorrelationID

Implements

IProviderSessionRegisterServiceAsync(String, Identity, CorrelationID, ServiceRegistrationOptions)
Exceptions
ExceptionCondition
InvalidOperationException The session is not started.
DuplicateCorrelationIDException The specified 'correlationId' is currently active for this Session.
Remarks
In addition to the common arguments, registrationOptions can be used to specify registration options like group ID, service priority and parts of the service being registered.
See Also