CogApplicationState ApplyMultiThreadingApplicationState Method Cognex VisionPro 9.23
Make the global MultiThreading state of the current application equivalent to the values in the MultiThreading properties of this class. The following properties will be applied to application: MultiThreadingEnabled, MultiThreadingThreadCount, and MultiThreadingThreadCountMode.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 91.0.0.0
Syntax

public void ApplyMultiThreadingApplicationState()
Remarks

If multi-threading is enabled and the thread count mode is HardwareDefined, then the thread count will be set to the number of physical processors or cores installed. If any exception is thrown, the last good values of thread count mode, thread count, and multi-threading enable state will be restored.
See Also