Namespace: Microsoft.IdentityModel.Protocols.WSTrust
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)
Usage
Visual Basic |
---|
Dim instance As WSTrustFeb2005ResponseSerializer Dim reader As XmlReader Dim context As WSTrustSerializationContext Dim returnValue As RequestSecurityTokenResponse returnValue = instance.ReadXml(reader, context) |
Syntax
Visual Basic |
---|
Public Overrides Function ReadXml ( _ reader As XmlReader, _ context As WSTrustSerializationContext _ ) As RequestSecurityTokenResponse |
C# |
---|
public override RequestSecurityTokenResponse ReadXml ( XmlReader reader, WSTrustSerializationContext context ) |
C++ |
---|
public: virtual RequestSecurityTokenResponse^ ReadXml ( XmlReader^ reader, WSTrustSerializationContext^ context ) override |
J# |
---|
public RequestSecurityTokenResponse ReadXml ( XmlReader reader, WSTrustSerializationContext context ) |
JScript |
---|
public override function ReadXml ( reader : XmlReader, context : WSTrustSerializationContext ) : RequestSecurityTokenResponse |
Parameters
- reader
-
XML reader over the RSTR
- context
-
Current Serialization context.
Return Value
RequestSecurityTokenResponse object if the deserialization was successfulExceptions
Exception type | Condition |
---|---|
WSTrustSerializationException |
There was an error parsing the RSTR |
ArgumentNullException |
The given reader or context parameter is null |
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.