Прочетете на английски Редактиране

Споделяне чрез


AuditRule<T> Constructors

Definition

Initializes a new instance of the AuditRule'1 class by using the specified values.

Overloads

AuditRule<T>(IdentityReference, T, AuditFlags)

Initializes a new instance of the AuditRule<T> class by using the specified values.

AuditRule<T>(String, T, AuditFlags)

Initializes a new instance of the AuditRule<T> class by using the specified values.

AuditRule<T>(IdentityReference, T, InheritanceFlags, PropagationFlags, AuditFlags)

Initializes a new instance of the AuditRule<T> class by using the specified values.

AuditRule<T>(String, T, InheritanceFlags, PropagationFlags, AuditFlags)

Initializes a new instance of the AuditRule<T> class by using the specified values.

AuditRule<T>(IdentityReference, T, AuditFlags)

Initializes a new instance of the AuditRule<T> class by using the specified values.

C#
public AuditRule (System.Security.Principal.IdentityReference identity, T rights, System.Security.AccessControl.AuditFlags flags);

Parameters

identity
IdentityReference

The identity to which this audit rule applies.

rights
T

The rights of the audit rule.

flags
AuditFlags

The conditions for which the rule is audited.

Applies to

.NET 9 и други версии
Продукт Версии
.NET Core 1.0, Core 1.1, 6 (package-provided), 6, 7, 8, 9
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5

AuditRule<T>(String, T, AuditFlags)

Initializes a new instance of the AuditRule<T> class by using the specified values.

C#
public AuditRule (string identity, T rights, System.Security.AccessControl.AuditFlags flags);

Parameters

identity
String

The identity to which the audit rule applies.

rights
T

The rights of the audit rule.

flags
AuditFlags

The properties of the audit rule.

Applies to

.NET 9 и други версии
Продукт Версии
.NET Core 1.0, Core 1.1, 6 (package-provided), 6, 7, 8, 9
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5

AuditRule<T>(IdentityReference, T, InheritanceFlags, PropagationFlags, AuditFlags)

Initializes a new instance of the AuditRule<T> class by using the specified values.

C#
public AuditRule (System.Security.Principal.IdentityReference identity, T rights, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags, System.Security.AccessControl.AuditFlags flags);

Parameters

identity
IdentityReference

The identity to which the audit rule applies.

rights
T

The rights of the audit rule.

inheritanceFlags
InheritanceFlags

The inheritance properties of the audit rule.

propagationFlags
PropagationFlags

Whether inherited audit rules are automatically propagated.

flags
AuditFlags

The conditions for which the rule is audited.

Applies to

.NET 9 и други версии
Продукт Версии
.NET Core 1.0, Core 1.1, 6 (package-provided), 6, 7, 8, 9
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5

AuditRule<T>(String, T, InheritanceFlags, PropagationFlags, AuditFlags)

Initializes a new instance of the AuditRule<T> class by using the specified values.

C#
public AuditRule (string identity, T rights, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags, System.Security.AccessControl.AuditFlags flags);

Parameters

identity
String

The identity to which the audit rule applies.

rights
T

The rights of the audit rule.

inheritanceFlags
InheritanceFlags

The inheritance properties of the audit rule.

propagationFlags
PropagationFlags

Whether inherited audit rules are automatically propagated.

flags
AuditFlags

The conditions for which the rule is audited.

Applies to

.NET 9 и други версии
Продукт Версии
.NET Core 1.0, Core 1.1, 6 (package-provided), 6, 7, 8, 9
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5