PowerShellExecutionHostBase Class |
Namespace: Mastersign.Bench
The PowerShellExecutionHostBase type exposes the following members.
Name | Description | |
---|---|---|
PowerShellExecutionHostBase |
Initializes a new instance of PowerShellExecutionHostBase.
|
Name | Description | |
---|---|---|
BenchRoot |
The root directory of the Bench environment.
| |
CurrentToken |
The current token to identify the IPC connection.
| |
IsDisposed |
Checks if this instance of already disposed.
| |
IsPowerShellExecutionHostRunning |
Checks is the PowerShell process is running.
| |
IsStarted |
Checks whether the host is started, or not.
| |
PsExecHostScriptFile |
An absolute path to the PsExecHost.ps1 script file.
|
Name | Description | |
---|---|---|
Dispose |
Shuts down this execution host and kills the attached PowerShell process.
| |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
OnDispose |
Is called when this instance is disposed.
| |
RequestConfigurationReload |
Call this to request a reload of the Bench configuration
in the remote execution host, before the next execution request is processed.
| |
RunProcess |
Starts a Windows process in a synchronous fashion.
| |
StartHost |
Starts the remote host and prepares for first execution request.
| |
StartPowerShellExecutionHost |
Starts the PowerShell process and runs the PsExecHost.ps1.
| |
StartProcess |
Starts a Windows process in an asynchronous fashion.
| |
ToString | (Inherited from Object.) | |
WaitForPowerShellExecutionHostToEnd |
Waits for the PowerShell process to end.
Is called after the shut down request was send.
|