Compartir a través de


WSTrust13RequestSerializer.WriteXml Método

Definición

Serializa el objeto RequestSecurityToken especificado en un objeto XmlWriter.

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)

Parámetros

request
RequestSecurityToken

Objeto RequestSecurityToken que se va a serializar.

writer
XmlWriter

Objeto XmlWriter en el que se va a escribir.

context
WSTrustSerializationContext

WSTrustSerializationContext que contiene el contexto de serialización actual.

Excepciones

request es null.

O bien

writer es null.

O bien

context es null.

Se aplica a