Partilhar via


SecurityKeyElement Construtores

Definição

Inicializa uma nova instância da classe SecurityKeyElement.

Sobrecargas

SecurityKeyElement(SecurityKeyIdentifier, SecurityTokenResolver)

Inicializa uma nova instância da classe SecurityKeyElement do identificador de chave especificado.

SecurityKeyElement(SecurityKeyIdentifierClause, SecurityTokenResolver)

Inicializa uma nova instância da classe SecurityKeyElement da cláusula de identificador de chave especificada.

SecurityKeyElement(SecurityKeyIdentifier, SecurityTokenResolver)

Inicializa uma nova instância da classe SecurityKeyElement do identificador de chave especificado.

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)

Parâmetros

securityKeyIdentifier
SecurityKeyIdentifier

Um identificador de chave que representa um SecurityKey.

securityTokenResolver
SecurityTokenResolver

Um resolvedor de token que pode ser resolvido para um SecurityKey.

Exceções

securityKeyIdentifier é null.

Aplica-se a

SecurityKeyElement(SecurityKeyIdentifierClause, SecurityTokenResolver)

Inicializa uma nova instância da classe SecurityKeyElement da cláusula de identificador de chave especificada.

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)

Parâmetros

securityKeyIdentifierClause
SecurityKeyIdentifierClause

Uma cláusula de identificador de chave que representa um SecurityKey.

securityTokenResolver
SecurityTokenResolver

Um resolvedor de token que pode ser resolvido para um SecurityKey.

Exceções

securityKeyIdentifierClause é null.

Aplica-se a