ServiceSecurityAuditElement.SuppressAuditFailure Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a Boolean value that specifies the behavior for suppressing failures of writing to the audit log.
public:
property bool SuppressAuditFailure { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("suppressAuditFailure", DefaultValue=true)]
public bool SuppressAuditFailure { get; set; }
[<System.Configuration.ConfigurationProperty("suppressAuditFailure", DefaultValue=true)>]
member this.SuppressAuditFailure : bool with get, set
Public Property SuppressAuditFailure As Boolean
Property Value
true
if exceptions other than OutOfMemoryException, StackOverflowException, ThreadAbortException, and ArgumentException that result from attempts to write audit events are handled by the system, and are not propagated to the application; false
if all exceptions that result from attempts to write audit events are passed up to the application. The default is true
.
- Attributes
Remarks
Applications should be notified for failures of writing to the audit log. If your application is not designed to handle audit failures, you should use this property to suppress failures in writing to the audit log.