Bloomberg API for .NET
CreateTopicsAsync Method (topicList, resolveMode)
NamespacesBloomberglp.BlpapiProviderSessionCreateTopicsAsync(TopicList, ResolveMode)
Begins the creation of the topics in the specified 'topicList'.
Declaration Syntax
C#Visual BasicVisual C++
public void CreateTopicsAsync(
	TopicList topicList,
	ResolveMode resolveMode
)
Public Sub CreateTopicsAsync ( 
	topicList As TopicList,
	resolveMode As ResolveMode
)
public:
void CreateTopicsAsync(
	TopicList^ topicList, 
	ResolveMode resolveMode
)
Parameters
topicList (TopicList)
resolveMode (ResolveMode)
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, 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.

Exceptions
ExceptionCondition
InvalidOperationException The session is not started.
DuplicateCorrelationIDException The specified correlationId in 'topicList' is not unique.

Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.9.6.1