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

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.2.1
Syntax
public CorrelationID RegisterServiceAsync(
	string serviceName,
	Identity providerIdentity
)

Parameters

serviceName
Type: SystemString
providerIdentity
Type: Bloomberglp.BlpapiIdentity

Return Value

Type: CorrelationID
The actual CorrelationID object that will identify Event objects generated as a result of this call.

Implements

IProviderSessionRegisterServiceAsync(String, Identity)
Exceptions
ExceptionCondition
InvalidOperationException The session is not started.
Remarks
providerIdentity is used to verify permissions to provide the service being registered.

serviceName must be a full qualified service name. That is, it must be of form "//{namespace}/{service-name}".

The application must monitor events for a EventType.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.

See Also