PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​DiagnosticsLog­Exception­Attribute
Open sandboxFocus

LogExceptionAttribute Class

Custom attribute that, when applied on a method, causes PostSharp to implement tracing upon exception in this method.

Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public class LogExceptionAttribute : LogAttributeBase, IMethodLevelAspect, IMethodLevelAspectBuildSemantics, IAspectBuildSemantics, IValidableAnnotation, ILogAspect, IAspect

Constructors

Name Description
LogExceptionAttribute()

Initializes a new LogExceptionAttribute.