Modifier

Partager via


SecurityTokenSerializer.CanReadKeyIdentifierClauseCore(XmlReader) Method

Definition

Determines whether this serializer can read the <KeyIdentifier> element referred to by the specified XML reader. Called by the base class.

protected:
 abstract bool CanReadKeyIdentifierClauseCore(System::Xml::XmlReader ^ reader);
protected abstract bool CanReadKeyIdentifierClauseCore (System.Xml.XmlReader reader);
abstract member CanReadKeyIdentifierClauseCore : System.Xml.XmlReader -> bool
Protected MustOverride Function CanReadKeyIdentifierClauseCore (reader As XmlReader) As Boolean

Parameters

reader
XmlReader

An XmlReader to read the key identifier clause.

Returns

true when the specified <KeyIdentifier> element can be read; otherwise, false.

Exceptions

reader is null.

Remarks

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

Applies to