LoggingServices.OnInternalException Method (Exception, LoggingTypeSource) |
Method invoked when an exception is caught in logging code.
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.9.11.0 (6.9.11.0)
C#
public static void OnInternalException( Exception exception, LoggingTypeSource source )
Parameters
- exception
- Type: System.Exception
The caught exception, or null if it is not available. - source
- Type: PostSharp.Patterns.Diagnostics.LoggingTypeSource
The relevant LoggingTypeSource, or null if it could not be determined.