Sdílet prostřednictvím


RunspaceConfiguration Class

Definition

Defines configuration information for runspace.

public ref class RunspaceConfiguration abstract
public abstract class RunspaceConfiguration
type RunspaceConfiguration = class
Public MustInherit Class RunspaceConfiguration
Inheritance
RunspaceConfiguration

Remarks

Developers may want to derive from this class when writing their own host to host monad engine. This will allow host to control the behaviour of monad engine through customized runspace configuration.

Constructors

RunspaceConfiguration()

Properties

Assemblies

Gets the assemblies defined in runspace configuration.

AuthorizationManager

Gets the authorization manager to be used for runspace.

Cmdlets

Gets the cmdlets defined in runspace configuration.

Formats

Gets the format data files defined in runspace configuration.

InitializationScripts

Gets the initialization scripts defined in runspace configuration.

Providers

Gets the providers defined in runspace configuration.

Scripts

Gets the scripts defined in runspace configuration.

ShellId

Gets the shell id for current runspace configuration.

Types

Gets the type data files defined in runspace configuration.

Methods

AddPSSnapIn(String, PSSnapInException)

Add a PSSnapin to runspace configuration.

Create()

Create one single shell runspace configuration object for a msh version.

Create(String, PSConsoleLoadException)

Create one single shell runspace configuration object from console file

Create(String)

Create an instance of RunspaceConfiguration type implemented from an assembly.

RemovePSSnapIn(String, PSSnapInException)

Remove a PSSnapin from runspace configuration.

Applies to