Redigera

Dela via


X509SecurityTokenHandler.CanReadToken(XmlReader) Method

Definition

Returns a value that indicates whether the reader points to an X.509 security token as defined in the WS-Security specification.

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

A reader pointing to the token XML.

Returns

true if the reader is pointing to an X.509 security token; otherwise, false.

Exceptions

reader is null.

Applies to