ProviderSessionRegisterServiceAsync Method (String, Identity, ServiceRegistrationOptions) |
Begins the process of registering the service identified by the
specified 'uri' 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.18.1.1
Syntax public CorrelationID RegisterServiceAsync(
string uri,
Identity providerIdentity,
ServiceRegistrationOptions registrationOptions
)
Public Function RegisterServiceAsync (
uri As String,
providerIdentity As Identity,
registrationOptions As ServiceRegistrationOptions
) As CorrelationID
public:
virtual CorrelationID^ RegisterServiceAsync(
String^ uri,
Identity^ providerIdentity,
ServiceRegistrationOptions^ registrationOptions
) sealed
abstract RegisterServiceAsync :
uri : string *
providerIdentity : Identity *
registrationOptions : ServiceRegistrationOptions -> CorrelationID
override RegisterServiceAsync :
uri : string *
providerIdentity : Identity *
registrationOptions : ServiceRegistrationOptions -> CorrelationID
Parameters
- uri
- 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, the specified
'registrationOptions' can be used to specify registration
options like group ID, service priority and parts of the service
being registered.
See Also