編集

次の方法で共有


WSSecurityTokenSerializer.TryCreateKeyIdentifierClauseFromTokenXml Method

Definition

Attempts to create a key identifier clause from a token expressed as XML.

public:
 virtual bool TryCreateKeyIdentifierClauseFromTokenXml(System::Xml::XmlElement ^ element, System::ServiceModel::Security::Tokens::SecurityTokenReferenceStyle tokenReferenceStyle, [Runtime::InteropServices::Out] System::IdentityModel::Tokens::SecurityKeyIdentifierClause ^ % securityKeyIdentifierClause);
public virtual bool TryCreateKeyIdentifierClauseFromTokenXml (System.Xml.XmlElement element, System.ServiceModel.Security.Tokens.SecurityTokenReferenceStyle tokenReferenceStyle, out System.IdentityModel.Tokens.SecurityKeyIdentifierClause securityKeyIdentifierClause);
abstract member TryCreateKeyIdentifierClauseFromTokenXml : System.Xml.XmlElement * System.ServiceModel.Security.Tokens.SecurityTokenReferenceStyle * SecurityKeyIdentifierClause -> bool
override this.TryCreateKeyIdentifierClauseFromTokenXml : System.Xml.XmlElement * System.ServiceModel.Security.Tokens.SecurityTokenReferenceStyle * SecurityKeyIdentifierClause -> bool
Public Overridable Function TryCreateKeyIdentifierClauseFromTokenXml (element As XmlElement, tokenReferenceStyle As SecurityTokenReferenceStyle, ByRef securityKeyIdentifierClause As SecurityKeyIdentifierClause) As Boolean

Parameters

element
XmlElement

The security token.

securityKeyIdentifierClause
SecurityKeyIdentifierClause

A sub-unit of an element that contains a security key identifier token.

Returns

true if the key identifier clause was created; otherwise, false.

Applies to