WSTrust13RequestSerializer.WriteXml Method

Definition

Serializes the specified RequestSecurityToken object into the XmlWriter object.

public:
 override void WriteXml(System::IdentityModel::Protocols::WSTrust::RequestSecurityToken ^ request, System::Xml::XmlWriter ^ writer, System::IdentityModel::Protocols::WSTrust::WSTrustSerializationContext ^ context);
public override void WriteXml (System.IdentityModel.Protocols.WSTrust.RequestSecurityToken request, System.Xml.XmlWriter writer, System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext context);
override this.WriteXml : System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * System.Xml.XmlWriter * System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext -> unit
Public Overrides Sub WriteXml (request As RequestSecurityToken, writer As XmlWriter, context As WSTrustSerializationContext)

Parameters

request
RequestSecurityToken

The RequestSecurityToken object to be serialized.

writer
XmlWriter

The XmlWriter object to write to.

context
WSTrustSerializationContext

A WSTrustSerializationContext that contains the current serialization context.

Exceptions

request is null.

-or-

writer is null.

-or-

context is null.

Applies to