C# 클래스 CsDebugScript.Engine.Debuggers.DbgEngDllHelpers.ProcessSwitcher

Used for scoped process switching. using (var switcher = new ProcessSwitcher(process)) { // Invoke DbgEng.dll interface function } Use this class for accessing process information from DbgEng.dll interfaces to insure correct process information access. For performance reasons, after using scope, previous process won't be set until it is needed. Always use this class to insure correctness.
상속: IDisposable
파일 보기 프로젝트 열기: southpolenator/WinDbgCs 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

ProcessSwitcher ( StateCache stateCache, Process process ) : System

Initializes a new instance of the ProcessSwitcher class.

메소드 상세

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

ProcessSwitcher() 공개 메소드

Initializes a new instance of the ProcessSwitcher class.
public ProcessSwitcher ( StateCache stateCache, Process process ) : System
stateCache StateCache The state cache.
process Process The process.
리턴 System