PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Audit Namespace / Audit­Services Class

AuditServices Class

Note: This API is now obsolete.

Exposes a RecordPublished event, which is raised whenever an audited method is executed.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Diagnostics.Audit.AuditServices

Namespace:  PostSharp.Patterns.Diagnostics.Audit
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.9.1.0 (6.9.1.0)
Syntax
C#
[ObsoleteAttribute("This feature has been moved to the sample PostSharp.Samples.Logging.Audit.")]
public static class AuditServices

The AuditServices type exposes the following members.

Events
  NameDescription
Public eventStatic memberRecordPublished
Event raised whenever an audited method is executed.
See Also