When implemented in the derived class checks if the given reader is positioned at a RequestSecurityTokenResponse element.
Namespace: Microsoft.IdentityModel.Protocols.WSTrust
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As WSTrustResponseSerializer
Dim reader As XmlReader
Dim returnValue As Boolean

returnValue = instance.CanRead(reader)

Syntax

Visual Basic
Public MustOverride Function CanRead ( _
		reader As XmlReader _
) As Boolean
C#
public abstract bool CanRead (
		XmlReader reader
)
C++
public:
virtual bool CanRead (
		XmlReader^ reader
) abstract
J#
public abstract boolean CanRead (
		XmlReader reader
)
JScript
public abstract function CanRead (
		reader : XmlReader
) : boolean

Parameters

reader

The reader to read from.

Return Value

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also