RunspacePool.ThreadOptions Property

Definition

This property determines whether a new thread is created for each invocation

public System.Management.Automation.Runspaces.PSThreadOptions ThreadOptions { get; set; }
Property Value
Exceptions

An attempt to change this property was made after opening the RunspacePool

Remarks

Any updates to the value of this property must be done before the RunspacePool is opened