Begins the process of registering the service identified by the
specified 'uri' with identity, CorrelationID and registration
options. Returns immediately.
Declaration Syntax
C# | Visual Basic | Visual C++ |
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: CorrelationID^ RegisterServiceAsync( String^ uri, Identity^ providerIdentity, CorrelationID^ correlationId, ServiceRegistrationOptions^ registrationOptions )
Parameters
- uri (String)
- providerIdentity (Identity)
- correlationId (CorrelationID)
- registrationOptions (ServiceRegistrationOptions)
Return Value
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.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException |
The session is not started.
|
DuplicateCorrelationIDException |
The specified 'correlationId' is currently active for this Session.
|
Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.7.4.1