RunspaceConfiguration RunspaceConfiguration RunspaceConfiguration 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
RunspaceConfigurationRunspaceConfigurationRunspaceConfigurationRunspaceConfiguration

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() RunspaceConfiguration() RunspaceConfiguration() RunspaceConfiguration()

Properties

Assemblies Assemblies Assemblies Assemblies

Gets the assemblies defined in runspace configuration.

AuthorizationManager AuthorizationManager AuthorizationManager AuthorizationManager

Gets the authorization manager to be used for runspace.

Cmdlets Cmdlets Cmdlets Cmdlets

Gets the cmdlets defined in runspace configuration.

Formats Formats Formats Formats

Gets the format data files defined in runspace configuration.

InitializationScripts InitializationScripts InitializationScripts InitializationScripts

Gets the initialization scripts defined in runspace configuration.

Providers Providers Providers Providers

Gets the providers defined in runspace configuration.

Scripts Scripts Scripts Scripts

Gets the scripts defined in runspace configuration.

ShellId ShellId ShellId ShellId

Gets the shell id for current runspace configuration.

Types Types Types Types

Gets the type data files defined in runspace configuration.

Methods

AddPSSnapIn(String, PSSnapInException) AddPSSnapIn(String, PSSnapInException) AddPSSnapIn(String, PSSnapInException) AddPSSnapIn(String, PSSnapInException)

Add a PSSnapin to runspace configuration.

Create() Create() Create() Create()

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

Create(String) Create(String) Create(String) Create(String)

Create an instance of RunspaceConfiguration type implemented from an assembly.

Create(String, PSConsoleLoadException) Create(String, PSConsoleLoadException) Create(String, PSConsoleLoadException) Create(String, PSConsoleLoadException)

Create one single shell runspace configuration object from console file

RemovePSSnapIn(String, PSSnapInException) RemovePSSnapIn(String, PSSnapInException) RemovePSSnapIn(String, PSSnapInException) RemovePSSnapIn(String, PSSnapInException)

Remove a PSSnapin from runspace configuration.

Applies to