WSTrust13ResponseSerializer.WriteXml Method (RequestSecurityTokenResponse, XmlWriter, 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.

Serializes the specified RequestSecurityTokenResponse object into the XmlWriter object.

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

public override void WriteXml(
	RequestSecurityTokenResponse response,
	XmlWriter writer,
	WSTrustSerializationContext context
)

Parameters

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

The RequestSecurityTokenResponse object to serialize.

writer
Type: System.Xml.XmlWriter

The XmlWriter object to write to.

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

A WSTrustSerializationContext that contains the current serialization context.

Exception Condition
ArgumentNullException

request is null.

-or-

writer is null.

-or-

context is null.

.NET Framework
Available since 4.5
Return to top
Show: