JobThreadOptions Enum

Definition

Specifies the various thread options that can be used for the ThreadBasedJob.

C++
public enum class JobThreadOptions
Inheritance
JobThreadOptions

Fields

Name Value Description
Default 0

Use the default behavior, which is to use a ThreadPoolThread.

UseThreadPoolThread 1

Use a thread pool thread.

UseNewThread 2

Create a new thread everything and reuse.

Applies to

Product Versions
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0