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
Показать файл Открыть проект Примеры использования класса

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

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