PostSharp4.3/API Reference/Post­Sharp.​Reflection.​Syntax Namespace/ISyntax­Exception­Handler Interface
ISyntaxExceptionHandler Interface
Represents an exception handler (either catch, finally or filter) attached to a block.

Namespace: PostSharp.Reflection.Syntax
Assembly: PostSharp (in PostSharp.dll) Version: 4.3.48.0 (4.3.48.0)
Syntax
C#
public interface ISyntaxExceptionHandler : ISyntaxElement

The ISyntaxExceptionHandler type exposes the following members.

Properties
  NameDescription
Public propertyExceptionType
Gets the type of handled exception, or null if all exceptions are handled.
Public propertyFilterBlock
Gets the exception filtering block, or null if all exceptions are handled.
Public propertyFilterLocalVariable
Gets the local variable containing the exception in the FilterBlock.
Public propertyHandlerBlock
Gets the exception handling block.
Public propertyHandlerLocalVariable
Gets the local variable containing the exception in the HandlerBlock.
Public propertyParentElement
Gets the parent element in the tree.
(Inherited from ISyntaxElement.)
Public propertyParentMethodBody
Gets the parent method body.
(Inherited from ISyntaxElement.)
Public propertySyntaxElementKind
Gets the kind of syntax element.
(Inherited from ISyntaxElement.)
See Also