AuditRecord Constructor |
Initializes a new AuditRecord.
Namespace: PostSharp.Patterns.Diagnostics.Audit
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public AuditRecord( Type declaringType, string memberName, LogRecordKind recordKind )
Parameters
- declaringType
- Type: System.Type
Declaring type of the audited method. - memberName
- Type: System.String
Name of the audited method. - recordKind
- Type: PostSharp.Patterns.Diagnostics.LogRecordKind
Kind of record (typically MethodSuccess or MethodException).