Redigera

Dela via


WSTrustRequestSerializer.WriteXml Method

Definition

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

public:
 abstract void WriteXml(System::IdentityModel::Protocols::WSTrust::RequestSecurityToken ^ request, System::Xml::XmlWriter ^ writer, System::IdentityModel::Protocols::WSTrust::WSTrustSerializationContext ^ context);
public abstract void WriteXml (System.IdentityModel.Protocols.WSTrust.RequestSecurityToken request, System.Xml.XmlWriter writer, System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext context);
abstract member WriteXml : System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * System.Xml.XmlWriter * System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext -> unit
Public MustOverride 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.

Applies to