Click or drag to resize
IProviderSessionCreateTopicsAsync Method (ITopicList, ResolveMode, Identity)
Begins the creation of topics.

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.17.0.1
Syntax
void CreateTopicsAsync(
	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