Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
WriteXml Method

WSTrustRequestSerializer.WriteXml Method

.NET Framework 4.6 and 4.5

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

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft