PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Record­Builders Namespace / Text­Log­Record­Builder Class / Text­Log­Record­Builder Properties / Text­Log­Record­Builder.​Exception Property

TextLogRecordBuilder.Exception Property

Gets the Exception for the current record, or null if no exception is associated to the current record.

Namespace:  PostSharp.Patterns.Diagnostics.RecordBuilders
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 2023.0.3.0 (2023.0.3.0)
public Exception Exception { get; }

Property Value

Type: Exception
See Also