PostSharp 6.5 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Reflection.​Method­Body Namespace / IBlock­Expression Interface / IBlock­Expression Properties / IBlock­Expression.​Exception­Handler­Kind Property

IBlockExpression.ExceptionHandlerKind Property

Gets the kind of exception handler of the current block (Catch, None or Finally), or None if the current block is not an exception handler.

Namespace:  PostSharp.Reflection.MethodBody
Assembly:  PostSharp (in PostSharp.dll) Version: 6.5.21.0 (6.5.21.0)
Syntax
C#
ExceptionHandlerKind ExceptionHandlerKind { get; }

Property Value

Type: ExceptionHandlerKind
See Also