SecurityKeyElement 构造函数

定义

初始化 SecurityKeyElement 类的新实例。

重载

SecurityKeyElement(SecurityKeyIdentifier, SecurityTokenResolver)

使用指定的密钥标识符子句初始化 SecurityKeyElement 类的新实例。

SecurityKeyElement(SecurityKeyIdentifierClause, SecurityTokenResolver)

使用指定的密钥标识符子句初始化 SecurityKeyElement 类的新实例。

SecurityKeyElement(SecurityKeyIdentifier, SecurityTokenResolver)

使用指定的密钥标识符子句初始化 SecurityKeyElement 类的新实例。

public:
 SecurityKeyElement(System::IdentityModel::Tokens::SecurityKeyIdentifier ^ securityKeyIdentifier, System::IdentityModel::Selectors::SecurityTokenResolver ^ securityTokenResolver);
public SecurityKeyElement (System.IdentityModel.Tokens.SecurityKeyIdentifier securityKeyIdentifier, System.IdentityModel.Selectors.SecurityTokenResolver securityTokenResolver);
new System.IdentityModel.Tokens.SecurityKeyElement : System.IdentityModel.Tokens.SecurityKeyIdentifier * System.IdentityModel.Selectors.SecurityTokenResolver -> System.IdentityModel.Tokens.SecurityKeyElement
Public Sub New (securityKeyIdentifier As SecurityKeyIdentifier, securityTokenResolver As SecurityTokenResolver)

参数

securityKeyIdentifier
SecurityKeyIdentifier

一个表示 SecurityKey 的密钥标识符。

securityTokenResolver
SecurityTokenResolver

可以解决 SecurityKey的一个标志解析器。

例外

securityKeyIdentifiernull

适用于

SecurityKeyElement(SecurityKeyIdentifierClause, SecurityTokenResolver)

使用指定的密钥标识符子句初始化 SecurityKeyElement 类的新实例。

public:
 SecurityKeyElement(System::IdentityModel::Tokens::SecurityKeyIdentifierClause ^ securityKeyIdentifierClause, System::IdentityModel::Selectors::SecurityTokenResolver ^ securityTokenResolver);
public SecurityKeyElement (System.IdentityModel.Tokens.SecurityKeyIdentifierClause securityKeyIdentifierClause, System.IdentityModel.Selectors.SecurityTokenResolver securityTokenResolver);
new System.IdentityModel.Tokens.SecurityKeyElement : System.IdentityModel.Tokens.SecurityKeyIdentifierClause * System.IdentityModel.Selectors.SecurityTokenResolver -> System.IdentityModel.Tokens.SecurityKeyElement
Public Sub New (securityKeyIdentifierClause As SecurityKeyIdentifierClause, securityTokenResolver As SecurityTokenResolver)

参数

securityKeyIdentifierClause
SecurityKeyIdentifierClause

一个表示 SecurityKey 的密钥标识符子句。

securityTokenResolver
SecurityTokenResolver

可以解决 SecurityKey的一个标志解析器。

例外

securityKeyIdentifierClausenull

适用于