PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Exception­Handler Class / Exception­Handler Properties / Exception­Handler.​Catch­Type Property

ExceptionHandler.CatchType Property

Gets or sets the catch type.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public ITypeSignature CatchType { get; set; }

Property Value

Type: ITypeSignature
A reference to an IType, or null if the handler type is not Clause.
See Also