Compartilhar via


WSTrust13ResponseSerializer.WriteXml Método

Definição

Serializa o objeto RequestSecurityTokenResponse especificado no objeto XmlWriter.

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)

Parâmetros

response
RequestSecurityTokenResponse

O objeto RequestSecurityTokenResponse a ser serializado.

writer
XmlWriter

O objeto XmlWriter de gravação.

context
WSTrustSerializationContext

Um WSTrustSerializationContext que contém o contexto atual de serialização.

Exceções

request é null.

- ou -

writer é null.

- ou -

context é null.

Aplica-se a