SecurityTokenSerializer.ReadKeyIdentifierClause Method (XmlReader)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Reads the key identifier clause using specified XML reader.

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

public SecurityKeyIdentifierClause ReadKeyIdentifierClause(
	XmlReader reader
)

Parameters

reader
Type: System.Xml.XmlReader

An XmlReader to read the key identifier.

Return Value

Type: System.IdentityModel.Tokens.SecurityKeyIdentifierClause

A SecurityKeyIdentifierClause that represents the key identifier that is read.

Exception Condition
ArgumentNullException

reader is null.

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

.NET Framework
Available since 3.0
Return to top
Show: