C# Class ParallelTestRunner.Process2.Process2

Inheritance: System.ComponentModel.Component
Afficher le fichier Open project: sscobici/ParallelTestRunner Class Usage Examples

Private Properties

Свойство 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

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
OnExited ( ) : void

Private Methods

Méthode 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 méthode

protected OnExited ( ) : void
Résultat void

Start() public méthode

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
Résultat bool

WaitForExit() public méthode

public WaitForExit ( int milliseconds ) : bool
milliseconds int
Résultat bool

WaitForExit() public méthode

public WaitForExit ( ) : void
Résultat void