PostSharp 6.4 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Audit Namespace / Audit­Record Class / Audit­Record Properties

AuditRecord Properties

The AuditRecord type exposes the following members.

Properties
  NameDescription
Public propertyDeclaringType
Gets the declaring type of the method.
Public propertyException
Gets the Exception if the method failed, or null if the method succeeded.
Public propertyMemberName
Gets the name of the method.
Public propertyRecordKind
Gets the kind of record (typically MethodSuccess or MethodException).
Public propertyTarget
Gets the instance on which the method was executed, or null if the method is a static method.
Public propertyText
Gets a string describing the operation (typically, the method type, name, and parameters).
Public propertyTime
Gets the time when the execution ended.
See Also