Επεξεργασία

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


EncryptedSecurityTokenHandler.CanReadToken(XmlReader) Method

Definition

Returns a value that indicates whether the reader is pointing to an <xenc:EncryptedData> element.

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

The reader positioned at a security token (<xenc:EncryptedData> element.)

Returns

true if the reader is positioned at an <xenc:EncryptedData> element; otherwise, false.

Remarks

Does not move the reader when it returns false.

Applies to