Uredi

Deli z drugimi prek


SecurityTokenSerializer.CanReadTokenCore(XmlReader) Method

Definition

Determines whether this serializer can read the security token pointed at by the specified XML reader. Called by the base class.

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

Parameters

reader
XmlReader

An XmlReader to read the security token.

Returns

true when the security token can be read; otherwise, false.

Exceptions

reader is null.

Remarks

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

Applies to