PSSessionConfigurationCommandBase.ThreadApartmentState 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.
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