Represents the runspace that is the operating environment for command pipelines. This class provides methods for opening the runspace, creating single and nested pipelines for the runspace, and closing the runspace.
Namespace: System.Management.Automation.Runspaces
Assembly: System.Management.Automation (in system.management.automation.dll)
Dim instance As Runspace
Public MustInherit Class Runspace
Implements IDisposable
public abstract class Runspace : IDisposable
public ref class Runspace abstract : IDisposable
public abstract class Runspace implements IDisposable
public abstract class Runspace implements IDisposable
After a runspace is opened, Windows PowerShell host applications can run startup scripts that include the profiles and initialization scripts in the runspace configuration. For more information about runspace configuration, see the RunspaceConfiguration class.
The runspace does not provide output. Data is returned to the host application through the pipelines executing within the runspace. For more information about pipeline output, see the Pipeline class.
It is permitted to derive from this class. However, there is no established scenario for doing this, nor has deriving from this class been tested.
System.Object
System.Management.Automation.Runspaces.Runspace
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Development Platforms
Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP, Windows 7, Windows 2008 R2 Target Platforms
Windows Server 2008, Windows Server 2003, Windows Vista, Windows XP, Windows 7, Windows 2008 R2