ProviderSessionRegisterServiceAsync Method (String, Identity) |
Begins the process of registering the service identified by the
specified 'uri' with identity and returns immediately.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.12.5.1
Syntax public CorrelationID RegisterServiceAsync(
string uri,
Identity providerIdentity
)
Public Function RegisterServiceAsync (
uri As String,
providerIdentity As Identity
) As CorrelationID
public:
CorrelationID^ RegisterServiceAsync(
String^ uri,
Identity^ providerIdentity
)
member RegisterServiceAsync :
uri : string *
providerIdentity : Identity -> CorrelationID
Parameters
- uri
- Type: SystemString
- providerIdentity
- Type: Bloomberglp.BlpapiIdentity
Return Value
Type:
CorrelationID The actual CorrelationID object that will identify
Event objects generated as a result of this
call.
Exceptions Remarks The specified 'providerIdentity' is used to
verify permissions to provide the service being registered.
The 'uri' must begin with a full qualified service name. That is it
must begin with "//{namespace}/{service-name}[/]". Any portion of
the 'uri' after the service name is ignored.
The application must monitor events for a
EventType.SERVICE_STATUS
event which will be generated once the
service has been successfully registered or registration has failed.
See Also