ICorProfilerCallback::RuntimeSuspendAborted 方法

通知探查器运行时中止了发生的运行时挂起。

Syntax

HRESULT RuntimeSuspendAborted();

注解

如果两个线程同时尝试暂停运行时,则运行时挂起可能会中止。

ICorProfilerCallback::RuntimeSuspendFinished 回调或RuntimeSuspendAborted回调将在 ICorProfilerCallback::RuntimeSuspendStarted 回调后的单个线程上发生。

保证回调 RuntimeSuspendAborted 发生在回调所在的同一线程上 RuntimeSuspendStarted

要求

平台:请参阅系统要求

页眉: CorProf.idl、CorProf.h

图书馆: CorGuids.lib

.NET Framework 版本: 自 2.0 起可用

另请参阅