編輯

共用方式為


ServiceModelSecurityTokenRequirement.MessageAuthenticationAuditLevelProperty Property

Definition

Gets the key for the token requirement property whose value is the audit level to use when recording the results of the authentication (service only).

public:
 static property System::String ^ MessageAuthenticationAuditLevelProperty { System::String ^ get(); };
public static string MessageAuthenticationAuditLevelProperty { get; }
static member MessageAuthenticationAuditLevelProperty : string
Public Shared ReadOnly Property MessageAuthenticationAuditLevelProperty As String

Property Value

Gets the key for the token requirement property whose value is the audit level to use when recording the results of the authentication.

Remarks

The value that corresponds to this key is of type AuditLevel, which is an enumeration with the following members:

  • Failure: Only failed security-related events are recorded.

  • None: No events are recorded.

  • Success: Only successful security-related events are recorded.

  • SuccessOrFailure: Both failed and successful security-related events are recorded.

Applies to

See also