C# 클래스 CefSharp.Internals.ParentProcessMonitor

Monitor the parent process and exit if the parent process closes before the subprocess. This class is used by the CefSharp.BrowserSubprocess to self terminate if the parent dies without notifying it to exit. See https://github.com/cefsharp/CefSharp/issues/2359 for more information.
파일 보기 프로젝트 열기: Secbyte/CefSharp.Net40

공개 메소드들

메소드 설명
StartMonitorTask ( int parentProcessId ) : void

Starts a long running task (spawns new thread) used to monitor the parent process and calls Process.Kill if the parent exits unexpectedly (usually result of a crash).

비공개 메소드들

메소드 설명
AwaitParentProcessExit ( int parentProcessId ) : void

메소드 상세

StartMonitorTask() 공개 정적인 메소드

Starts a long running task (spawns new thread) used to monitor the parent process and calls Process.Kill if the parent exits unexpectedly (usually result of a crash).
public static StartMonitorTask ( int parentProcessId ) : void
parentProcessId int process Id of the parent application
리턴 void