RunspacePoolState Enumeration
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Defines the states of a runspace pool. The runspace pool is used to execute commands concurrently using a set of similarly configured runspaces. This enumeration is introduced in Windows PowerShell 2.0.
Namespace: System.Management.Automation.Runspaces
Assembly: System.Management.Automation (in System.Management.Automation)
Namespace: System.Management.Automation.Runspaces
Assembly: System.Management.Automation (in System.Management.Automation)
Usage
Visual Basic
Dim instance As RunspacePoolState
Syntax
Visual Basic
Public Enumeration RunspacePoolState
C#
public enum RunspacePoolState
C++
public enum class RunspacePoolState
J#
public enum RunspacePoolState
JScript
public enum RunspacePoolState
Members
| Member name | Description |
|---|---|
| BeforeOpen | The state of the runspace pool before it is opened to create a runspace. This field is introduced in Windows PowerShell 2.0. |
| Broken | The RunspacePool object has been disconnected abnormally. This field is introduced in Windows PowerShell 2.0. |
| Closed | The runspace pool is closed. This field is introduced in Windows PowerShell 2.0. |
| Closing | The runspace pool is in the process of being closed. This field is introduced in Windows PowerShell 2.0. |
| Connecting | |
| Disconnected | |
| Disconnecting | |
| Opened | The runspace pool is created and is valid. This field is introduced in Windows PowerShell 2.0. |
| Opening | The runspace pool is in the process of being opened. This field is introduced in Windows PowerShell 2.0. |
Platforms
Target Platforms
Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Server 2008, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional, Windows Vista, Windows Server 2003 R2, Windows XP, Windows 7, Windows 2008 R2, Windows Developer Preview, Windows Server Developer PreviewSee Also
Send comments about this topic to Microsoft.