Checks if the given reader is positioned at a RequestSecurityTokenResponse element with namespace 'http://schemas.xmlsoap.org/ws/2005/02/trust'
Namespace: Microsoft.IdentityModel.Protocols.WSTrust
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

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

returnValue = instance.CanRead(reader)

Syntax

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

Parameters

reader

The reader to read from.

Return Value

Returns Booleantrue if the reader is positioned at a RequestSecurityTokenResponse element with namespace 'http://schemas.xmlsoap.org/ws/2005/02/trust'; 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