WSTrustRequestSerializer.WriteXml Method (RequestSecurityToken, XmlWriter, WSTrustSerializationContext)

.NET Framework (current version)
 

When overridden in a derived class, serializes the specified RequestSecurityToken object into the XmlWriter object.

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

public abstract void WriteXml(
	RequestSecurityToken request,
	XmlWriter writer,
	WSTrustSerializationContext context
)

Parameters

request
Type: System.IdentityModel.Protocols.WSTrust.RequestSecurityToken

The RequestSecurityToken object to be serialized.

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.

.NET Framework
Available since 4.5
Return to top
Show: