Saml2SecurityTokenHandler.CanReadToken(XmlReader) Method

Definition

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

C#
public override bool CanReadToken(System.Xml.XmlReader reader);

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

Produkt Versiounen
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1