Skip to content
Docs Try Aspire

PowerShellRunspacePoolResource Properties

Class Properties 4 members
Represents a PowerShell runspace pool resource.
LanguageMode Section titled LanguageMode PSLanguageMode
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; }
Pool Section titled Pool nullable RunspacePool?
A reference to the runspace pool created by this resource.
public RunspacePool? Pool { get; }