Click or drag to resize

SimpleExecutionHost Class

This class is a simple implementation of IProcessExecutionHost. It starts processes invisible in the background and allows no user interaction during the process execution.
Inheritance Hierarchy
SystemObject
  Mastersign.BenchSimpleExecutionHost

Namespace:  Mastersign.Bench
Assembly:  BenchLib (in BenchLib.dll) Version: 0.22.0.0 (0.22.0.0)
Syntax
public class SimpleExecutionHost : IProcessExecutionHost, 
	IDisposable

The SimpleExecutionHost type exposes the following members.

Constructors
  NameDescription
Public methodSimpleExecutionHost
Initializes a new instance of the SimpleExecutionHost class
Top
Properties
  NameDescription
Public propertyIsDisposed
Checks, whether this instance was disposed, or not.
Top
Methods
  NameDescription
Public methodDispose
Disposes this instance and frees all ocupied resources.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodStatic memberPreparePowerShellScriptExecution
Checks whether a PowerShell script shall be executed. And if that is the case, adjusts the executable and argument strings.
Public methodRunProcess
Starts a Windows process in a synchronous fashion.
Public methodStartProcess(BenchEnvironment, String, String, String, ProcessExitCallback, ProcessMonitoring)
Starts a Windows process in an asynchronous fashion.
Protected methodStartProcess(BenchEnvironment, String, String, String, Boolean, StringBuilder, StringBuilder)
Starts a Windows process in a synchronous fashion.
Public methodToString (Inherited from Object.)
Top
See Also