AuditRule<T> Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the AuditRule'1 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. |
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. |
Initializes a new instance of the AuditRule<T> class by using the specified values.
public:
AuditRule(System::Security::Principal::IdentityReference ^ identity, T rights, System::Security::AccessControl::AuditFlags flags);
public AuditRule (System.Security.Principal.IdentityReference identity, T rights, System.Security.AccessControl.AuditFlags flags);
new System.Security.AccessControl.AuditRule<'T (requires 'T : struct)> : System.Security.Principal.IdentityReference * 'T * System.Security.AccessControl.AuditFlags -> System.Security.AccessControl.AuditRule<'T (requires 'T : struct)>
Public Sub New (identity As IdentityReference, rights As T, flags As AuditFlags)
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 |
Initializes a new instance of the AuditRule<T> class by using the specified values.
public:
AuditRule(System::String ^ identity, T rights, System::Security::AccessControl::AuditFlags flags);
public AuditRule (string identity, T rights, System.Security.AccessControl.AuditFlags flags);
new System.Security.AccessControl.AuditRule<'T (requires 'T : struct)> : string * 'T * System.Security.AccessControl.AuditFlags -> System.Security.AccessControl.AuditRule<'T (requires 'T : struct)>
Public Sub New (identity As String, rights As T, flags As AuditFlags)
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 |
Initializes a new instance of the AuditRule<T> class by using the specified values.
public:
AuditRule(System::Security::Principal::IdentityReference ^ identity, T rights, System::Security::AccessControl::InheritanceFlags inheritanceFlags, System::Security::AccessControl::PropagationFlags propagationFlags, System::Security::AccessControl::AuditFlags flags);
public AuditRule (System.Security.Principal.IdentityReference identity, T rights, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags, System.Security.AccessControl.AuditFlags flags);
new System.Security.AccessControl.AuditRule<'T (requires 'T : struct)> : System.Security.Principal.IdentityReference * 'T * System.Security.AccessControl.InheritanceFlags * System.Security.AccessControl.PropagationFlags * System.Security.AccessControl.AuditFlags -> System.Security.AccessControl.AuditRule<'T (requires 'T : struct)>
Public Sub New (identity As IdentityReference, rights As T, inheritanceFlags As InheritanceFlags, propagationFlags As PropagationFlags, flags As AuditFlags)
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 |
Initializes a new instance of the AuditRule<T> class by using the specified values.
public:
AuditRule(System::String ^ identity, T rights, System::Security::AccessControl::InheritanceFlags inheritanceFlags, System::Security::AccessControl::PropagationFlags propagationFlags, System::Security::AccessControl::AuditFlags flags);
public AuditRule (string identity, T rights, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags, System.Security.AccessControl.AuditFlags flags);
new System.Security.AccessControl.AuditRule<'T (requires 'T : struct)> : string * 'T * System.Security.AccessControl.InheritanceFlags * System.Security.AccessControl.PropagationFlags * System.Security.AccessControl.AuditFlags -> System.Security.AccessControl.AuditRule<'T (requires 'T : struct)>
Public Sub New (identity As String, rights As T, inheritanceFlags As InheritanceFlags, propagationFlags As PropagationFlags, flags As AuditFlags)
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 |
Обратна връзка за .NET
.NET е проект с отворен код. Изберете връзка, за да предоставите обратна връзка: