Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All


Stores information about a specific exception clause instance and its associated frame.

typedef struct COR_PRF_EX_CLAUSE_INFO {
    COR_PRF_CLAUSE_TYPE clauseType;
    UINT_PTR programCounter;
    UINT_PTR framePointer;
    UINT_PTR shadowStackPointer;




A value of the COR_PRF_CLAUSE_TYPE enumeration that specifies the type of exception clause the code just entered or left.


The native entry point of the clause handler — for example, the contents of the X86 EIP register.


The pointer to the logical frame for the clause handler — for example, the contents of the X86 EBP register.


The pointer to the shadow stack. This value is the contents of the BSP register and applies only to IA64.

When an exception notification is received, ICorProfilerInfo2::GetNotifiedExceptionClauseInfo can be used to get the native address and frame information for the exception clause (catch/finally/filter) that is about to be run or has just been run.

Execution of an exception clause involves these callbacks from the common language runtime (CLR):

Platforms: See .NET Framework System Requirements.

Header: CorProf.idl

Library: CorGuids.lib

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

© 2015 Microsoft