ICorProfilerCallback::RuntimeSuspendAborted 方法

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

HRESULT RuntimeSuspendAborted();

备注

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

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

可以保证 RuntimeSuspendAborted 回调与 RuntimeSuspendStarted 回调发生在同一线程上。

要求

**平台:**请参见 .NET Framework 系统要求

**头文件:**CorProf.idl、CorProf.h

**库:**CorGuids.lib

**.NET Framework 版本:**4、3.5 SP1、3.5、3.0 SP1、3.0、2.0 SP1、2.0

请参见

参考

ICorProfilerCallback 接口