C# Класс ParallelTestRunner.Process2.Process2

Наследование: System.ComponentModel.Component
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
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

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
OnExited ( ) : void

Приватные методы

Метод Описание
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

Описание методов

OnExited() защищенный Метод

protected OnExited ( ) : void
Результат void

Start() публичный Метод

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
Результат bool

WaitForExit() публичный Метод

public WaitForExit ( int milliseconds ) : bool
milliseconds int
Результат bool

WaitForExit() публичный Метод

public WaitForExit ( ) : void
Результат void