SecurityTokenSerializer.CanReadKeyIdentifierClause(XmlReader) Method

Definition

Determines whether this serializer can read a clause in a <KeyIdentifier> element referred to by the specified XML reader.

public:
 bool CanReadKeyIdentifierClause(System::Xml::XmlReader ^ reader);
public bool CanReadKeyIdentifierClause (System.Xml.XmlReader reader);
member this.CanReadKeyIdentifierClause : System.Xml.XmlReader -> bool
Public Function CanReadKeyIdentifierClause (reader As XmlReader) As Boolean

Parameters

reader
XmlReader

An XmlReader to read the key identifier clause.

Returns

true when the specified key identifier clause 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