ProviderSessionCreateTopics Method (TopicList, ResolveMode, Identity) |
Namespace: Bloomberglp.Blpapi
public void CreateTopics( TopicList topicList, ResolveMode resolveMode, Identity providerIdentity )
Exception | Condition |
---|---|
DuplicateCorrelationIDException | The specified correlationId in 'topicList' is not unique. |
InvalidOperationException | The session is not started. |
DuplicateCorrelationIDException | The specified correlationId in 'topicList' is not unique. |
ThreadInterruptedException | The current thread is interrupted while it is waiting for response. |
Before createTopics() returns 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 are generated. If this is an asynchronous ProviderSession then these Events may be processed by the registered EventHandler before createTopics() has returned.