Επεξεργασία

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


RsaSecurityTokenHandler.CanReadToken(XmlReader) Method

Definition

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

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 RsaSecurityToken; otherwise, false.

Exceptions

reader is null.

Applies to