WSTrust13ResponseSerializer.ReadXmlElement Method (XmlReader, RequestSecurityTokenResponse, WSTrustSerializationContext)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Reads a specific child element inside the RSTR.

Namespace:   System.IdentityModel.Protocols.WSTrust
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public override void ReadXmlElement(
	XmlReader reader,
	RequestSecurityTokenResponse rstr,
	WSTrustSerializationContext context
)

Parameters

reader
Type: System.Xml.XmlReader

An XmlReader object positioned at an element to read inside the RSTR.

rstr
Type: System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse

The RequestSecurityTokenResponse element that is being populated from the reader.

context
Type: System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext

A WSTrustSerializationContext that contains the current serialization context.

Exception Condition
ArgumentNullException

reader is null.

-or-

rstr is null.

-or-

context is null.

WSTrustSerializationException

Unable to deserialize the current parameter.

.NET Framework
Available since 4.5
Return to top
Show: