Redigera

Dela via


WSTrust13ResponseSerializer.WriteXml Method

Definition

Serializes the specified RequestSecurityTokenResponse object into the XmlWriter object.

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

Parameters

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