Edit

Share via


Saml2SecurityTokenHandler.CanReadToken(XmlReader) Method

Definition

Indicates whether the current XML element can be read as a token of the type handled by this instance.

public:
 override bool CanReadToken(System::Xml::XmlReader ^ reader);
public override bool CanReadToken (System.Xml.XmlReader reader);
override this.CanReadToken : System.Xml.XmlReader -> bool
Public Overrides Function CanReadToken (reader As XmlReader) As Boolean

Parameters

reader
XmlReader

An XML reader positioned at a start element. The reader should not be advanced.

Returns

true if the ReadToken(XmlReader) method can read the element; otherwise, false.

Applies to