Modifica

Condividi tramite


SecurityTokenSerializer.ReadKeyIdentifier(XmlReader) Method

Definition

Reads the key identifier using specified XML reader.

public:
 System::IdentityModel::Tokens::SecurityKeyIdentifier ^ ReadKeyIdentifier(System::Xml::XmlReader ^ reader);
public System.IdentityModel.Tokens.SecurityKeyIdentifier ReadKeyIdentifier (System.Xml.XmlReader reader);
member this.ReadKeyIdentifier : System.Xml.XmlReader -> System.IdentityModel.Tokens.SecurityKeyIdentifier
Public Function ReadKeyIdentifier (reader As XmlReader) As SecurityKeyIdentifier

Parameters

reader
XmlReader

An XmlReader to read the key identifier.

Returns

A SecurityKeyIdentifier that represents the key identifier that is read.

Exceptions

reader is null.

Remarks

Classes that derive from the SecurityTokenSerializer class must override the ReadKeyIdentifierCore(XmlReader) method. The ReadKeyIdentifier(XmlReader) method calls the ReadKeyIdentifierCore(XmlReader) method.

Applies to