Runspace Class (System.Management.Automation.Runspaces)
Runspace Class Home
Runspace Class
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)
Usage

Dim instance As Runspace
Syntax

Public MustInherit Class Runspace
    Implements IDisposable
public abstract class Runspace implements IDisposable
Remarks

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.


Inheritance Hierarchy

System.Object
  System.Management.Automation.Runspaces.Runspace
Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms

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
See Also

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View