ServiceSecurityAuditBehavior Construtor

Definição

Inicializa uma nova instância da ServiceSecurityAuditBehavior classe.

public:
 ServiceSecurityAuditBehavior();
public ServiceSecurityAuditBehavior();
Public Sub New ()

Exemplos

O código seguinte cria uma instância da ServiceSecurityAuditBehavior classe.

// Create a new auditing behavior and set the log location.
ServiceSecurityAuditBehavior newAudit =
    new ServiceSecurityAuditBehavior();
newAudit.AuditLogLocation =
    AuditLogLocation.Application;
' Create a new auditing behavior and set the log location.
Dim newAudit As New ServiceSecurityAuditBehavior()
newAudit.AuditLogLocation = AuditLogLocation.Application

Observações

A instância é criada com as seguintes definições predefinidas:

Aplica-se a