RunspacePool.ApartmentState Property

Definition

ApartmentState of the thread used to execute commands within this RunspacePool

public System.Threading.ApartmentState ApartmentState { 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