C# Класс AcManager.Tools.Helpers.ChildProcessTracker

Показать файл Открыть проект

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

Метод Описание
AddProcess ( Process process ) : void

Add the process to be tracked. If our current process is killed, the child processes that we are tracking will be automatically killed, too. If the child process terminates first, that's fine, too.

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

Метод Описание
AssignProcessToJobObject ( IntPtr job, IntPtr process ) : bool
ChildProcessTracker ( ) : System
CreateJobObject ( IntPtr lpJobAttributes, string name ) : IntPtr
SetInformationJobObject ( IntPtr job, JobObjectInfoType infoType, IntPtr lpJobObjectInfo, uint cbJobObjectInfoLength ) : bool

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

AddProcess() публичный статический Метод

Add the process to be tracked. If our current process is killed, the child processes that we are tracking will be automatically killed, too. If the child process terminates first, that's fine, too.
public static AddProcess ( Process process ) : void
process System.Diagnostics.Process
Результат void