PostSharp 6.5 / / 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: 6.5.19.0 (6.5.19.0)
Syntax
C#
public Exception Exception { get; }

Property Value

Type: Exception
See Also