Represents an exception handler.

Namespace:  PostSharp.CodeModel
Assembly:  PostSharp.Core (in PostSharp.Core.dll)

Syntax

Visual Basic (Declaration)
Public NotInheritable Class ExceptionHandler _
	Inherits Declaration
C#
public sealed class ExceptionHandler : Declaration
Visual C++
public ref class ExceptionHandler sealed : public Declaration

Remarks

An ExceptionHandler is contained in an InstructionBlock, which is the protected block (i.e. the try block).

Inheritance Hierarchy

System..::.Object
  PostSharp.CodeModel..::.Element
    PostSharp.CodeModel..::.Declaration
      PostSharp.CodeModel..::.ExceptionHandler

See Also