RunspaceConfiguration
Class
Definition
Defines configuration information for runspace.
public abstract 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) |
Create an instance of RunspaceConfiguration type implemented from an assembly. |
| Create(String, PSConsoleLoadException) |
Create one single shell runspace configuration object from console file |
| RemovePSSnapIn(String, PSSnapInException) |
Remove a PSSnapin from runspace configuration. |