Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ExceptionUnwindFinallyLeave Method
Collapse the table of content
Expand the table of content

ICorProfilerCallback::ExceptionUnwindFinallyLeave Method

Notifies the profiler that the unwind phase of exception handling has left a finally clause.

HRESULT ExceptionUnwindFinallyLeave();

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.

Platforms: See .NET Framework System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: 4.6, 4.5.2, 4.5.1, 4.5, 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

Show:
© 2015 Microsoft