When implemented in the derived class checks if the given reader is positioned at a RequestSecurityTokenResponse element.
Пространство имен: Microsoft.IdentityModel.Protocols.WSTrust
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)

Использование

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

returnValue = instance.CanRead(reader)

Синтаксис

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

Параметры

reader

The reader to read from.

Возвращаемое значение

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

Безопасность потоков

Любые открытые статические члены (Shared в Visual Basic) этого типа являются поточно-ориентированными.Любые члены экземпляров не являются гарантированно поточно-ориентированными.

Платформы

Платформа разработки

Windows Server 2003, Windows Vista

Target Platforms

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

См. также