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

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


WSSecurityTokenSerializer.CreateKeyIdentifierClauseFromTokenXml Method

Definition

Creates a key identifier clause from a token expressed as XML.

public virtual System.IdentityModel.Tokens.SecurityKeyIdentifierClause CreateKeyIdentifierClauseFromTokenXml (System.Xml.XmlElement element, System.ServiceModel.Security.Tokens.SecurityTokenReferenceStyle tokenReferenceStyle);

Parameters

element
XmlElement

The security token.

Returns

The created security key identifier.

Exceptions

An error occurred when deserializing the key identifier clause or the key identifier clause could not be read.

Applies to

Продукт Версии
.NET Framework 3.0, 3.5, 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