Checks if the given reader is positioned at a RequestSecurityToken element with namespace 'http://schemas.xmlsoap.org/ws/2005/02/trust'
Пространство имен: Microsoft.IdentityModel.Protocols.WSTrust
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)

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

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

returnValue = instance.CanRead(reader)

Синтаксис

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

Параметры

reader

The reader to read from.

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

Returns Boolean. true if the reader is positioned at a RequestSecurityToken element with namespace 'http://schemas.xmlsoap.org/ws/2005/02/trust'; otherwise, false.

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

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

Платформы

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

Windows Server 2003, Windows Vista

Target Platforms

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

См. также