ProviderSessionResolve Method (IResolutionList, ResolveMode) |
Resolves the topics in the specified 'resolutionList' and updates the
'resolutionList' with the results of the resolution process.
The session identity will be used if it's been authorized.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.11.1
Syntax public void Resolve(
IResolutionList resolutionList,
ResolveMode resolveMode
)
Public Sub Resolve (
resolutionList As IResolutionList,
resolveMode As ResolveMode
)
public:
virtual void Resolve(
IResolutionList^ resolutionList,
ResolveMode resolveMode
) sealed
abstract Resolve :
resolutionList : IResolutionList *
resolveMode : ResolveMode -> unit
override Resolve :
resolutionList : IResolutionList *
resolveMode : ResolveMode -> unit
Parameters
- resolutionList
- Type: Bloomberglp.BlpapiIResolutionList
- resolveMode
- Type: Bloomberglp.BlpapiResolveMode
Implements
IProviderSessionResolve(IResolutionList, ResolveMode)Exceptions Exception | Condition |
---|
InvalidOperationException |
The session is not started.
|
DuplicateCorrelationIDException |
Any of the correlationIds specified in 'resolutionList' is not unique.
|
ThreadInterruptedException |
The current thread is interrupted while it is waiting for resolution response.
|
Remarks
If the
specified 'resolveMode' is
ResolveMode.DONT_REGISTER_SERVICES
then all the services referenced in the topics in the 'resolutionList'
must already have been registered using RegisterService(). If
'resolveMode' is
ResolveMode.AUTO_REGISTER_SERVICES
then the specified 'providerIdentity' should be supplied and ProviderSession will
automatically attempt to register any services reference in the topics in
the 'resolutionList' that have not already been registered. Once
Resolve() returns each entry in the 'resolutionList' will have been
updated with a new status.
Before Resolve() returns one or more
EventType.RESOLUTION_STATUS
events and, if 'resolveMode' is
ResolveMode.AUTO_REGISTER_SERVICES,
zero or more EventType.SERVICE_STATUS
events are generated. If this is an
asynchronous ProviderSession then these Events may be processed by the
registered EventHandler before Resolve() has returned.
See Also