Checks if the given reader is positioned at a RequestSecurityToken element with namespace 'http://docs.oasis-open.org/ws-sx/ws-trust/200512'
Namespace: Microsoft.IdentityModel.Protocols.WSTrust
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As WSTrust13RequestSerializer
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 Boolean. True if the reader is positioned at a RequestSecurityToken element with namespace 'http://docs.oasis-open.org/ws-sx/ws-trust/200512'; 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