Compartir a través de


WSTrustResponseSerializer.WriteXmlElement Método

Definición

Cuando se invalida en una clase derivada, escribe el elemento secundario dentro del RSTR.

public:
 abstract void WriteXmlElement(System::Xml::XmlWriter ^ writer, System::String ^ elementName, System::Object ^ elementValue, System::IdentityModel::Protocols::WSTrust::RequestSecurityTokenResponse ^ requestSecurityTokenResponse, System::IdentityModel::Protocols::WSTrust::WSTrustSerializationContext ^ context);
public abstract void WriteXmlElement (System.Xml.XmlWriter writer, string elementName, object elementValue, System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse requestSecurityTokenResponse, System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext context);
abstract member WriteXmlElement : System.Xml.XmlWriter * string * obj * System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse * System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext -> unit
Public MustOverride Sub WriteXmlElement (writer As XmlWriter, elementName As String, elementValue As Object, requestSecurityTokenResponse As RequestSecurityTokenResponse, context As WSTrustSerializationContext)

Parámetros

writer
XmlWriter

Objeto XmlWriter para el que se serializa el RSTR.

elementName
String

Nombre local del elemento que se va a escribir.

elementValue
Object

Valor del elemento.

requestSecurityTokenResponse
RequestSecurityTokenResponse

Objeto RequestSecurityTokenResponse que se está serializando.

context
WSTrustSerializationContext

WSTrustSerializationContext que contiene el contexto de serialización actual.

Se aplica a