C# Class ParallelTestRunner.Process2.Process2

Inheritance: System.ComponentModel.Component
Exibir arquivo Open project: sscobici/ParallelTestRunner Class Usage Examples

Private Properties

Property Type Description
BeginOutputReadLine void
BuildCommandLine StringBuilder
CompletionCallback void
CreatePipe void
CreatePipeWithSecurityAttributes void
EnsureState void
EnsureWatchingForExit void
GetProcessHandle SafeProcessHandle
OutputReadNotifyUser void
RaiseOnExited void
ReleaseProcessHandle void
SetProcessHandle void
SetProcessId void
StartWithCreateProcess bool
StopWatchingForExit void

Public Methods

Method Description
Start ( ) : bool

Starts (or reuses) the process resource that is specified by the P:System.Diagnostics.Process.StartInfo property of this T:System.Diagnostics.Process component and associates it with the component.

WaitForExit ( int milliseconds ) : bool
WaitForExit ( ) : void

Protected Methods

Method Description
OnExited ( ) : void

Private Methods

Method Description
BeginOutputReadLine ( ) : void
BuildCommandLine ( string executableFileName, string arguments ) : StringBuilder
CompletionCallback ( object context, bool wasSignaled ) : void
CreatePipe ( SafeFileHandle &parentHandle, SafeFileHandle &childHandle, bool parentInputs ) : void
CreatePipeWithSecurityAttributes ( SafeFileHandle &hReadPipe, SafeFileHandle &hWritePipe, NativeMethods lpPipeAttributes, int nSize ) : void
EnsureState ( Process2 state ) : void
EnsureWatchingForExit ( ) : void
GetProcessHandle ( int access, bool throwIfExited ) : SafeProcessHandle
OutputReadNotifyUser ( string data ) : void
RaiseOnExited ( ) : void
ReleaseProcessHandle ( SafeProcessHandle handle ) : void
SetProcessHandle ( SafeProcessHandle processHandle ) : void
SetProcessId ( int processId ) : void
StartWithCreateProcess ( ProcessStartInfo startInfo ) : bool
StopWatchingForExit ( ) : void

Method Details

OnExited() protected method

protected OnExited ( ) : void
return void

Start() public method

Starts (or reuses) the process resource that is specified by the P:System.Diagnostics.Process.StartInfo property of this T:System.Diagnostics.Process component and associates it with the component.
No file name was specified in the component's .-or- The member of the property is true while , , or is true. There was an error in opening the associated file. The process object has already been disposed.
public Start ( ) : bool
return bool

WaitForExit() public method

public WaitForExit ( int milliseconds ) : bool
milliseconds int
return bool

WaitForExit() public method

public WaitForExit ( ) : void
return void