BLPAPI C++  3.24.11
SubscriptionPreprocessMode Struct Reference

#include <blpapi_session.h>

Public Types

enum  Enum {
  e_failOnFirstError,
  e_returnIndividualErrors
}
 

Member Enumeration Documentation

◆ Enum

enum Enum

Enumeration used to define how the invalid subscriptions are managed in a SubscriptionList provided to Session::subscribe() and Session::resubscribe().

Enumerator
e_failOnFirstError 

In this mode, an exception is thrown on the first invalid subscription in the 'SubscriptionList', and the entire batch will be considered failed. Otherwise, all the subscriptions will move forward and an empty list of 'SubscriptionPreprocessError' is returned.

e_returnIndividualErrors 

In this mode, instead of throwing exceptions, a list of 'SubscriptionPreprocessError' is returned, each representing an error due to an invalid subscription in the 'SubscriptionList'. The valid subscriptions will move forward.


The documentation for this struct was generated from the following file: