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

ExceptionHandler.Options Property

Gets or sets the kind of exception handling clause.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
public ExceptionHandlingClauseOptions Options { get; set; }

Property Value

Type: ExceptionHandlingClauseOptions
You have to set the properties CatchType, and FilterBlock according to the kind of exception handler. This rule is not enforced.
See Also