Rediger

Del via


SecurityTokenHandler.ReadKeyIdentifierClause(XmlReader) Method

Definition

When overridden in a derived class, deserializes the XML referenced by the specified XML reader to a key identifier clause that references a token processed by the derived class.

public:
 virtual System::IdentityModel::Tokens::SecurityKeyIdentifierClause ^ ReadKeyIdentifierClause(System::Xml::XmlReader ^ reader);
public virtual System.IdentityModel.Tokens.SecurityKeyIdentifierClause ReadKeyIdentifierClause (System.Xml.XmlReader reader);
abstract member ReadKeyIdentifierClause : System.Xml.XmlReader -> System.IdentityModel.Tokens.SecurityKeyIdentifierClause
override this.ReadKeyIdentifierClause : System.Xml.XmlReader -> System.IdentityModel.Tokens.SecurityKeyIdentifierClause
Public Overridable Function ReadKeyIdentifierClause (reader As XmlReader) As SecurityKeyIdentifierClause

Parameters

reader
XmlReader

An XML reader positioned at the start element of the XML to be deserialized into the key identifier clause.

Returns

The key identifier clause that was deserialized from the XML.

Remarks

By default this method throws a NotImplementedException exception.

Override this method to provide the logic to deserialize a key identifier clause from XML. If you override this method, you should also override the SecurityTokenHandler.CanReadKeyIdentifierClause method.

Applies to