Skip to content
DocsTry Aspire
DocsTry

PowerShellRunspacePoolResource Constructors

ClassConstructors1 member
Represents a PowerShell runspace pool resource.
Constructor(string, PSLanguageMode, int, int)Section titled Constructor(string, PSLanguageMode, int, int)
Represents a PowerShell runspace pool resource.
public class PowerShellRunspacePoolResource
{
public PowerShellRunspacePoolResource(
string name,
PSLanguageMode languageMode = 3,
int minRunspaces = 1,
int maxRunspaces = 5)
{
// ...
}
}
namestring
languageModePSLanguageModeoptional
minRunspacesintoptional
maxRunspacesintoptional