Thetype exposes the following members.
Gets or sets the number of threads to use to execute parallelizable operations.
Gets or sets the source of new threads to be used to execute parallelizable operations.
Configures the threading policy so that parallelizable operations use one thread for each logical processor on the system. In some partial-trust environments, in may not be possible to determine the number of logical processors. In that case, the threading policy will be configured to use two threads.
Configures the threading policy so that parallelizable operations are executed using only the thread that invoked them. No additional threads are created.
Resets the current threading policy to the default.
Sets the current threading policy as the default policy to be used for new threads.