PostSharp6.1/API Reference/Post­Sharp.​Patterns.​Diagnostics Namespace/Logging­Services Class/Logging­Services Methods/Logging­Services.​On­Internal­Exception Method/Logging­Services.​On­Internal­Exception Method (Exception, Logging­Type­Source)

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.1.23.0 (6.1.23.0)
Syntax
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.
See Also