WSTrustResponseSerializer.CanRead Method (XmlReader)

.NET Framework (current version)

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

Namespace:   System.IdentityModel.Protocols.WSTrust
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public abstract bool CanRead(
	XmlReader reader


Type: System.Xml.XmlReader

The XmlReader object from which to read.

Return Value

Type: System.Boolean

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

.NET Framework
Available since 4.5
Return to top