ProviderSessionCreateTopicsAsync Method (ITopicList, ResolveMode, Identity) |
Begins the creation of the topics in the specified 'topicList'.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.18.1.1
Syntax public void CreateTopicsAsync(
ITopicList topicList,
ResolveMode resolveMode,
Identity providerIdentity
)
Public Sub CreateTopicsAsync (
topicList As ITopicList,
resolveMode As ResolveMode,
providerIdentity As Identity
)
public:
virtual void CreateTopicsAsync(
ITopicList^ topicList,
ResolveMode resolveMode,
Identity^ providerIdentity
) sealed
abstract CreateTopicsAsync :
topicList : ITopicList *
resolveMode : ResolveMode *
providerIdentity : Identity -> unit
override CreateTopicsAsync :
topicList : ITopicList *
resolveMode : ResolveMode *
providerIdentity : Identity -> unit
Parameters
- topicList
- Type: Bloomberglp.BlpapiITopicList
- resolveMode
- Type: Bloomberglp.BlpapiResolveMode
- providerIdentity
- Type: Bloomberglp.BlpapiIdentity
Implements
IProviderSessionCreateTopicsAsync(ITopicList, ResolveMode, Identity)Exceptions Exception | Condition |
---|
InvalidOperationException |
The session is not started.
|
DuplicateCorrelationIDException |
The specified correlationId in 'topicList' is not unique.
|
Remarks If the specified 'resolveMode' is
ResolveMode.DONT_REGISTER_SERVICES,
then all the services referenced in the topics in the 'topicList'
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 'topicList' that have not already been registered.
Before or after CreateTopicsAsync() returns, each entry in the 'topicList' will be
updated with a new status. And one or more
EventType.RESOLUTION_STATUS
events and, if 'resolveMode' is
ResolveMode.AUTO_REGISTER_SERVICES,
zero or more EventType.SERVICE_STATUS,
and zero or more EventType.TOPIC_STATUS
events will be generated. If this is an
asynchronous ProviderSession then these Events may be processed by the
registered EventHandler.
See Also