ProviderSessionRegisterServiceAsync Method (String, Identity, CorrelationID, ServiceRegistrationOptions) |
Begins the process of registering the service identified by the
specified 'uri' 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.19.2.1
Syntax public CorrelationID RegisterServiceAsync(
string uri,
Identity providerIdentity,
CorrelationID correlationId,
ServiceRegistrationOptions registrationOptions
)
Public Function RegisterServiceAsync (
uri As String,
providerIdentity As Identity,
correlationId As CorrelationID,
registrationOptions As ServiceRegistrationOptions
) As CorrelationID
public:
virtual CorrelationID^ RegisterServiceAsync(
String^ uri,
Identity^ providerIdentity,
CorrelationID^ correlationId,
ServiceRegistrationOptions^ registrationOptions
) sealed
abstract RegisterServiceAsync :
uri : string *
providerIdentity : Identity *
correlationId : CorrelationID *
registrationOptions : ServiceRegistrationOptions -> CorrelationID
override RegisterServiceAsync :
uri : string *
providerIdentity : Identity *
correlationId : CorrelationID *
registrationOptions : ServiceRegistrationOptions -> CorrelationID
Parameters
- uri
- Type: SystemString
- providerIdentity
- Type: Bloomberglp.BlpapiIdentity
- correlationId
- Type: Bloomberglp.BlpapiCorrelationID
- registrationOptions
- Type: Bloomberglp.BlpapiServiceRegistrationOptions
Return Value
Type:
CorrelationIDImplements
IProviderSessionRegisterServiceAsync(String, Identity, CorrelationID, ServiceRegistrationOptions)Exceptions Exception | Condition |
---|
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