PowerShellRunspacePoolResource
Class net10.0
Represents a PowerShell runspace pool resource.
namespace CommunityToolkit.Aspire.Hosting.PowerShell;
public class PowerShellRunspacePoolResource : Aspire.Hosting.ApplicationModel.Resource, Aspire.Hosting.ApplicationModel.IResource, Aspire.Hosting.ApplicationModel.IResourceWithWaitSupport, System.IDisposable{ // ...} ResourceIResourceIResourceWithWaitSupportIDisposable
5 members
Constructors1
Section titled ConstructorsProperties4
Section titled PropertiesLanguageModegetPSLanguageMode Specifies the language mode for the PowerShell runspace pool.
MaxRunspacesgetint Specifies the maximum number of runspaces in the pool.
MinRunspacesgetint Specifies the minimum number of runspaces in the pool.
PoolgetRunspacePool? A reference to the runspace pool created by this resource.