Muokkaa

Jaa


ICorProfilerCallback::ExceptionUnwindFunctionLeave Method

Notifies the profiler that the unwind phase of exception handling has finished unwinding a function.

Syntax

HRESULT ExceptionUnwindFunctionLeave();  

Remarks

When the ExceptionUnwindFunctionLeave method is called, the function instance and its stack data are removed from the stack.

The profiler should not block during this call because the stack may not be in a state that allows garbage collection, and therefore preemptive garbage collection cannot be enabled. If the profiler blocks here and a garbage collection is attempted, the runtime will block until this callback returns.

Also, during this call, the profiler must not call into managed code or in any way cause a managed-memory allocation.

Requirements

Platforms: See System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: Available since 2.0

See also