PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / Logging­Exception­Info Class / Logging­Exception­Info Properties / Logging­Exception­Info.​Exception Property

LoggingExceptionInfo.Exception Property

Gets the Exception object, or null if the Exception object has been lost, which is the case when there is an exception while logging

Namespace:  PostSharp.Patterns.Diagnostics
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