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.24.5.1
Syntax CorrelationID RegisterServiceAsync(
string serviceName,
Identity providerIdentity,
CorrelationID correlationId,
ServiceRegistrationOptions registrationOptions
)
Function RegisterServiceAsync (
serviceName As String,
providerIdentity As Identity,
correlationId As CorrelationID,
registrationOptions As ServiceRegistrationOptions
) As CorrelationID
CorrelationID^ RegisterServiceAsync(
String^ serviceName,
Identity^ providerIdentity,
CorrelationID^ correlationId,
ServiceRegistrationOptions^ registrationOptions
)
abstract RegisterServiceAsync :
serviceName : string *
providerIdentity : Identity *
correlationId : CorrelationID *
registrationOptions : ServiceRegistrationOptions -> CorrelationID
Parameters
- serviceName
- Type: SystemString
The name of the service to register.
serviceName must be a full qualified service
name. That is, it must be of form "//{namespace}/{service-name}".
- 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