System.Reflection.MethodBody.ExceptionHandlingClauses Property

Gets a list that includes all the exception-handling clauses in the method body.

Syntax

public virtual IList<ExceptionHandlingClause> ExceptionHandlingClauses { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The list includes all clauses from all try blocks in the method body. Each System.Reflection.ExceptionHandlingClause object contains information that identifies the try block with which it is associated.

Note:

Working with exception-handling clauses requires a thorough understanding of metadata and MSIL instruction formats. Information can be found in the Common Language Infrastructure (CLI) documentation, especially "Partition II: Metadata Definition and Semantics" and "Partition III: CIL Instruction Set". The documentation is available online; see tp://go.microsoft.com/fwlink/?LinkID=99212 on MSDN and tp://go.microsoft.com/fwlink/?LinkID=65552 on the Ecma International Web site.

Requirements

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0