ServiceSecurityAuditBehavior::SuppressAuditFailure Property
Gets or sets a value that indicates whether failure to audit affects the application.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Property Value
Type: System::Booleantrue if failure to audit does not affect the application; otherwise, false. The default is true.
If this property is false, failure to audit causes an exception to be thrown and results in user request failure.
You can also set this value using the <serviceSecurityAudit> in a client application configuration file.
The following code creates an instance of the ServiceSecurityAuditBehavior class and sets this property.
Available since 3.0