CryptoKeyAuditRule 构造函数

定义

初始化 CryptoKeyAuditRule 类的新实例。

重载

CryptoKeyAuditRule(IdentityReference, CryptoKeyRights, AuditFlags)

使用指定的值初始化 CryptoKeyAuditRule 类的新实例。

CryptoKeyAuditRule(String, CryptoKeyRights, AuditFlags)

使用指定的值初始化 CryptoKeyAuditRule 类的新实例。

CryptoKeyAuditRule(IdentityReference, CryptoKeyRights, AuditFlags)

使用指定的值初始化 CryptoKeyAuditRule 类的新实例。

public:
 CryptoKeyAuditRule(System::Security::Principal::IdentityReference ^ identity, System::Security::AccessControl::CryptoKeyRights cryptoKeyRights, System::Security::AccessControl::AuditFlags flags);
public CryptoKeyAuditRule (System.Security.Principal.IdentityReference identity, System.Security.AccessControl.CryptoKeyRights cryptoKeyRights, System.Security.AccessControl.AuditFlags flags);
new System.Security.AccessControl.CryptoKeyAuditRule : System.Security.Principal.IdentityReference * System.Security.AccessControl.CryptoKeyRights * System.Security.AccessControl.AuditFlags -> System.Security.AccessControl.CryptoKeyAuditRule
Public Sub New (identity As IdentityReference, cryptoKeyRights As CryptoKeyRights, flags As AuditFlags)

参数

identity
IdentityReference

审核规则应用到其中的标识。 此参数必须是可强制转换为 SecurityIdentifier的对象。

cryptoKeyRights
CryptoKeyRights

此审核规则为其生成审核的加密密钥操作。

flags
AuditFlags

生成审核的条件。

适用于

CryptoKeyAuditRule(String, CryptoKeyRights, AuditFlags)

使用指定的值初始化 CryptoKeyAuditRule 类的新实例。

public:
 CryptoKeyAuditRule(System::String ^ identity, System::Security::AccessControl::CryptoKeyRights cryptoKeyRights, System::Security::AccessControl::AuditFlags flags);
public CryptoKeyAuditRule (string identity, System.Security.AccessControl.CryptoKeyRights cryptoKeyRights, System.Security.AccessControl.AuditFlags flags);
new System.Security.AccessControl.CryptoKeyAuditRule : string * System.Security.AccessControl.CryptoKeyRights * System.Security.AccessControl.AuditFlags -> System.Security.AccessControl.CryptoKeyAuditRule
Public Sub New (identity As String, cryptoKeyRights As CryptoKeyRights, flags As AuditFlags)

参数

identity
String

审核规则应用到其中的标识。

cryptoKeyRights
CryptoKeyRights

此审核规则为其生成审核的加密密钥操作。

flags
AuditFlags

生成审核的条件。

适用于