Метод WSTrustFeb2005ResponseSerializer.ReadXml
Deserializes the RSTR from the XmlReader to a RequestSecurityTokenResponse object.
Пространство имен: Microsoft.IdentityModel.Protocols.WSTrust
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)
Использование
Dim instance As WSTrustFeb2005ResponseSerializer Dim reader As XmlReader Dim context As WSTrustSerializationContext Dim returnValue As RequestSecurityTokenResponse returnValue = instance.ReadXml(reader, context)
Синтаксис
'Декларация
Public Overrides Function ReadXml ( _
reader As XmlReader, _
context As WSTrustSerializationContext _
) As RequestSecurityTokenResponse
public override RequestSecurityTokenResponse ReadXml (
XmlReader reader,
WSTrustSerializationContext context
)
public:
virtual RequestSecurityTokenResponse^ ReadXml (
XmlReader^ reader,
WSTrustSerializationContext^ context
) override
public RequestSecurityTokenResponse ReadXml (
XmlReader reader,
WSTrustSerializationContext context
)
public override function ReadXml (
reader : XmlReader,
context : WSTrustSerializationContext
) : RequestSecurityTokenResponse
Параметры
- reader
XML reader over the RSTR
- context
Current Serialization context.
Возвращаемое значение
RequestSecurityTokenResponse object if the deserialization was successful
Исключения
Тип исключений | Условие |
---|---|
WSTrustSerializationException | There was an error parsing the RSTR |
ArgumentNullException | The given reader or context parameter is null |
Безопасность потоков
Любые открытые статические члены (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