Click or drag to resize
IProviderSessionCreateTopics Method (ITopicList, ResolveMode, Identity)
Creates the topics in topicList and updates the entries with the results of the creation and resolution process.

Before this method returns one or more RESOLUTION_STATUS events and, if resolveMode is AUTO_REGISTER_SERVICES, zero or more SERVICE_STATUS events are generated. If this is an asynchronous session then these events may be processed by the registered EventHandler before this method has returned.

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.23.1.1
Syntax
void CreateTopics(
	ITopicList topicList,
	ResolveMode resolveMode,
	Identity providerIdentity
)

Parameters

topicList
Type: Bloomberglp.BlpapiITopicList
A list containing topics to be created.

The CorrelationID objects in this list must be unique and not in use.

resolveMode
Type: Bloomberglp.BlpapiResolveMode
Indicates if the services referenced in topicList should be registered or not.

If resolveMode is DONT_REGISTER_SERVICES then all the services referenced in the topics in topicList must already have been registered.

If resolveMode is AUTO_REGISTER_SERVICES then providerIdentity will be used used to attempt to register any services referenced in the topics in topicList that have not already been registered.

providerIdentity
Type: Bloomberglp.BlpapiIdentity
Used to verify permissions to provide the service being registered when resolveMode is AUTO_REGISTER_SERVICES.

If null the session identity will be used if it's been authorized.

See Also