ServiceSecurityAuditBehavior Konstruktor

Definition

Initierar en ny instans av ServiceSecurityAuditBehavior klassen.

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

Exempel

Följande kod skapar en instans av ServiceSecurityAuditBehavior klassen.

// 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

Kommentarer

Instansen skapas med följande standardinställningar:

Gäller för