ExceptionUnwindFunctionEnter Method
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

ICorProfilerCallback::ExceptionUnwindFunctionEnter Method

Notifies the profiler that the unwind phase of exception handling has begun to unwind a function.

HRESULT ExceptionUnwindFunctionEnter(
    [in] FunctionID functionId);


Parameter Description


[in] The ID of the function that is being unwound.

The profiler should not block in its implementation of this method 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 garbage collection is attempted, the runtime will block until this callback returns.

The profiler's implementation of this method should not call into managed code or in any way cause a managed-memory allocation.

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorProf.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

© 2016 Microsoft