[TIBCO.EMS .NET client library 6.3 documentation]
Assembly: TIBCO.EMS (in TIBCO.EMS.dll)
Set the dispatcher thread setting
Namespace:
TIBCO.EMSAssembly: TIBCO.EMS (in TIBCO.EMS.dll)
Syntax
public static void SetSessionDispatcherDaemon( bool makeDaemon ) |
Public Shared Sub SetSessionDispatcherDaemon ( _ makeDaemon As Boolean _ ) |
public: static void SetSessionDispatcherDaemon( bool makeDaemon ) |
Parameters
- makeDaemon
- Type: System..::.Boolean
- When true, dispatcher threads are daemon threads.
- When false, (the default) they are not daemon threads.
Remarks
This method sets if Session dispatcher threads should be daemon. Some operating systems may ignore this setting.
When a program uses asynchronous message consumers (either message listeners or .NET message event handler delegates), EMS creates internal dispatcher threads for each Session that has at least one asynchronous message consumer. By default session dispatcher threads are not set to be daemon threads.
The .NET Compact Framework does not support daemon threads. This call has no effect, and returns without error.