RunspacePool.ThreadOptions Property   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This property determines whether a new thread is created for each invocation.
public:
 property System::Management::Automation::Runspaces::PSThreadOptions ThreadOptions { System::Management::Automation::Runspaces::PSThreadOptions get(); void set(System::Management::Automation::Runspaces::PSThreadOptions value); };
	public System.Management.Automation.Runspaces.PSThreadOptions ThreadOptions { get; set; }
	member this.ThreadOptions : System.Management.Automation.Runspaces.PSThreadOptions with get, set
	Public Property ThreadOptions As PSThreadOptions
	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