다음을 통해 공유


WSTrust13RequestSerializer.ReadXml 메서드

Deserializes the RST from the XmlReader to a RequestSecurityToken object.

네임스페이스: Microsoft.IdentityModel.Protocols.WSTrust
어셈블리: Microsoft.IdentityModel(microsoft.identitymodel.dll에 있음)

사용법

    Dim instance As WSTrust13RequestSerializer
Dim reader As XmlReader
Dim context As WSTrustSerializationContext
Dim returnValue As RequestSecurityToken

returnValue = instance.ReadXml(reader, context)

구문

‘선언
Public Overrides Function ReadXml ( _
    reader As XmlReader, _
    context As WSTrustSerializationContext _
) As RequestSecurityToken
public override RequestSecurityToken ReadXml (
    XmlReader reader,
    WSTrustSerializationContext context
)
public:
virtual RequestSecurityToken^ ReadXml (
    XmlReader^ reader, 
    WSTrustSerializationContext^ context
) override
public RequestSecurityToken ReadXml (
    XmlReader reader, 
    WSTrustSerializationContext context
)
public override function ReadXml (
    reader : XmlReader, 
    context : WSTrustSerializationContext
) : RequestSecurityToken

매개 변수

  • reader
    XML reader over the RST
  • context
    Current Serialization context.

반환 값

RequestSecurityToken object if the deserialization was successful

예외

예외 유형 조건
WSTrustSerializationException

There was an error parsing the RST

ArgumentNullException

The reader or context parameter is null

스레드 안전성

이 유형의 공용 정적(Visual Basic에서는 Shared) 멤버는 모두 스레드로부터 안전합니다.인스턴스 멤버는 스레드로부터 안전하지 않을 수 있습니다.

플랫폼

개발 플랫폼

Windows Server 2003, Windows Vista

Target Platforms

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

참고 항목

참조

WSTrust13RequestSerializer 클래스
WSTrust13RequestSerializer 멤버
Microsoft.IdentityModel.Protocols.WSTrust 네임스페이스