ProviderSessionRegisterServiceAsync Method (String, Identity, ServiceRegistrationOptions) |
Begins the process of registering the service identified by
serviceName with identity and
registration options, and 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.24.7.1
Syntax public CorrelationID RegisterServiceAsync(
string serviceName,
Identity providerIdentity,
ServiceRegistrationOptions registrationOptions
)
Public Function RegisterServiceAsync (
serviceName As String,
providerIdentity As Identity,
registrationOptions As ServiceRegistrationOptions
) As CorrelationID
public:
virtual CorrelationID^ RegisterServiceAsync(
String^ serviceName,
Identity^ providerIdentity,
ServiceRegistrationOptions^ registrationOptions
) sealed
abstract RegisterServiceAsync :
serviceName : string *
providerIdentity : Identity *
registrationOptions : ServiceRegistrationOptions -> CorrelationID
override RegisterServiceAsync :
serviceName : string *
providerIdentity : Identity *
registrationOptions : ServiceRegistrationOptions -> CorrelationID
Parameters
- serviceName
- Type: SystemString
- providerIdentity
- Type: Bloomberglp.BlpapiIdentity
- registrationOptions
- Type: Bloomberglp.BlpapiServiceRegistrationOptions
Return Value
Type:
CorrelationID
The actual CorrelationID object that will identify
Event objects generated as a result of this
call.
Implements
IProviderSessionRegisterServiceAsync(String, Identity, ServiceRegistrationOptions)Exceptions Exception | Condition |
---|
InvalidOperationException |
The session is not started.
|
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