SecurityTokenSerializer.ReadKeyIdentifierCore Method (XmlReader)


Reads the key identifier clause using specified XML reader. Called by the base class.

Namespace:   System.IdentityModel.Selectors
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

protected abstract SecurityKeyIdentifier ReadKeyIdentifierCore(
	XmlReader reader


Type: System.Xml.XmlReader

An XmlReader to read the key identifier.

Return Value

Type: System.IdentityModel.Tokens.SecurityKeyIdentifier

A SecurityKeyIdentifier that represents the key identifier that is read.

Exception Condition

reader is null.

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

.NET Framework
Available since 3.0
Return to top