| ProviderSession Constructor (SessionOptions, ProviderEventHandler, EventDispatcher) |
See the SessionOptions documentation for details on what can be specified in the 'options'.
If 'eventHandler' is not null then this Session will operation in asynchronous mode, otherwise the Session will operate in synchronous mode.
Important: In the current C# FFI version, the 'eventDispatcher' parameter is ignored. A default 'eventDispatcher' is always used internally, and any supplied dispatcher has no effect.
Previous versions allowed a custom 'eventDispatcher' to be supplied to enable shared or multithreaded event dispatching across sessions. That behavior is currently not supported.
If 'eventHandler' is null and the 'eventDispatcher' is not null an exception is thrown.
Namespace: Bloomberglp.Blpapi
public ProviderSession( SessionOptions options, ProviderEventHandler eventHandler, EventDispatcher dispatcher )