C# 클래스 AcManager.Tools.Helpers.ChildProcessTracker

파일 보기 프로젝트 열기: gro-ove/actools

공개 메소드들

메소드 설명
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