편집

다음을 통해 공유


SecurityTokenSerializer.CanReadToken(XmlReader) Method

Definition

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

public:
 bool CanReadToken(System::Xml::XmlReader ^ reader);
public bool CanReadToken (System.Xml.XmlReader reader);
member this.CanReadToken : System.Xml.XmlReader -> bool
Public Function CanReadToken (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