RunspaceConfiguration Class

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.dll)

'Usage
Dim instance As RunspaceConfiguration

public abstract class RunspaceConfiguration
public abstract class RunspaceConfiguration
public abstract class RunspaceConfiguration

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.


System.Object
  System.Management.Automation.Runspaces.RunspaceConfiguration

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

 

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

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft