Επεξεργασία

Κοινή χρήση μέσω


UserNameSecurityTokenHandler.CanReadToken(XmlReader) Method

Definition

Indicates whether the current XML element can be read as a UserNameSecurityToken.

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 reader is pointing to a UserNameSecurityToken; otherwise, false.

Applies to