Aracılığıyla paylaş


ServiceSecurityAuditBehavior Oluşturucu

Tanım

ServiceSecurityAuditBehavior sınıfının yeni bir örneğini başlatır.

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

Örnekler

Aşağıdaki kod sınıfının bir örneğini ServiceSecurityAuditBehavior oluşturur.

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

Açıklamalar

Örnek aşağıdaki varsayılan ayarlarla oluşturulur:

Şunlara uygulanır