SecurityTokenSerializer.ReadKeyIdentifier Method (XmlReader)

 

Reads the key identifier using specified XML reader.

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

public SecurityKeyIdentifier ReadKeyIdentifier(
	XmlReader reader
)

Parameters

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
ArgumentNullException

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
Show: