RunspaceConfiguration Class (System.Management.Automation.Runspaces)

Switch View :
ScriptFree
RunspaceConfiguration Class
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Defines the configurable information for a single runspace. Runspace configuration information defines the behavior of the Windows PowerShell shell at run time.


Namespace: System.Management.Automation.Runspaces
Assembly: System.Management.Automation (in System.Management.Automation)
Usage

Visual Basic
Dim instance As RunspaceConfiguration

Syntax

Visual Basic
Public MustInherit Class RunspaceConfiguration
C#
public abstract class RunspaceConfiguration
C++
public ref class RunspaceConfiguration abstract
J#
public abstract class RunspaceConfiguration
JScript
public abstract class RunspaceConfiguration
Remarks

Runspace configuration information includes the assemblies, commands, format and type files, providers, and scripts that are available within the runspace.

Developers might want to derive from this class when writing their own host application. This will allow the host application to control the behavior of the Windows PowerShell shell through a customized runspace configuration.

A RunspaceConfiguration object cannot be used with runspace pools.


Inheritance Hierarchy

System.Object
  System.Management.Automation.Runspaces.RunspaceConfiguration
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

 

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

Send comments about this topic to Microsoft.