WSTrustRequestSerializer.CanRead(XmlReader) Method

Definition

When overridden in a derived class, checks if the specified XML reader is positioned at a WS-Trust RequestSecurityToken element.

public:
 abstract bool CanRead(System::Xml::XmlReader ^ reader);
public abstract bool CanRead (System.Xml.XmlReader reader);
abstract member CanRead : System.Xml.XmlReader -> bool
Public MustOverride Function CanRead (reader As XmlReader) As Boolean

Parameters

reader
XmlReader

The XmlReader object from which to read.

Returns

true if the reader is positioned at an RST element that the serializer can read; otherwise, false.

Applies to