Поделиться через


Метод WSTrustFeb2005ResponseSerializer.CanRead

Checks if the given reader is positioned at a RequestSecurityTokenResponse element with namespace 'https://schemas.xmlsoap.org/ws/2005/02/trust'

Пространство имен: Microsoft.IdentityModel.Protocols.WSTrust
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)

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

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

returnValue = instance.CanRead(reader)

Синтаксис

'Декларация
Public Overrides Function CanRead ( _
    reader As XmlReader _
) As Boolean
public override bool CanRead (
    XmlReader reader
)
public:
virtual bool CanRead (
    XmlReader^ reader
) override
public boolean CanRead (
    XmlReader reader
)
public override function CanRead (
    reader : XmlReader
) : boolean

Параметры

  • reader
    The reader to read from.

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

Returns Booleantrue if the reader is positioned at a RequestSecurityTokenResponse element with namespace 'https://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

См. также

Справочник

Класс WSTrustFeb2005ResponseSerializer
WSTrustFeb2005ResponseSerializer Члены
Пространство имен Microsoft.IdentityModel.Protocols.WSTrust