Skip to content
DocsTry Aspire
DocsTry

PowerShellRunspacePoolResource Properties

ClassProperties4 members
Represents a PowerShell runspace pool resource.
LanguageModeSection titled LanguageModePSLanguageMode
Specifies the language mode for the PowerShell runspace pool.
public PSLanguageMode LanguageMode { get; }
Specifies the maximum number of runspaces in the pool.
public int MaxRunspaces { get; }
Specifies the minimum number of runspaces in the pool.
public int MinRunspaces { get; }
PoolSection titled PoolnullableRunspacePool?
A reference to the runspace pool created by this resource.
public RunspacePool? Pool { get; }