Share via


PSSessionConfigurationCommandBase.ThreadApartmentState Property

Definition

ApartmentState of the Runspace created for the shell.

public:
 property System::Threading::ApartmentState ThreadApartmentState { System::Threading::ApartmentState get(); void set(System::Threading::ApartmentState value); };
public System.Threading.ApartmentState ThreadApartmentState { get; set; }
[System.Management.Automation.Parameter]
public System.Threading.ApartmentState ThreadApartmentState { get; set; }
member this.ThreadApartmentState : System.Threading.ApartmentState with get, set
[<System.Management.Automation.Parameter>]
member this.ThreadApartmentState : System.Threading.ApartmentState with get, set
Public Property ThreadApartmentState As ApartmentState

Property Value

Attributes

Applies to