| ProviderSession Constructor |
| Name | Description | |
|---|---|---|
| ProviderSession | Construct provider session with no options,
event handler or event dispatcher.
ProviderSession(SessionOptions, ProviderEventHandler, EventDispatcher) | |
| ProviderSession(SessionOptions) | The constructor with SessionOptions
| |
| ProviderSession(SessionOptions, ProviderEventHandler) | The constructor with SessionOptions and ProviderEventHandler
| |
| ProviderSession(SessionOptions, ProviderEventHandler, EventDispatcher) |
Constructs a Session using the optionally specified 'options', the
optionally specified 'eventHandler'.
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. |