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

AuditRecord Constructor

Initializes a new AuditRecord.

Namespace:  PostSharp.Patterns.Diagnostics.Audit
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
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).
See Also