Compartir a través de


WSTrustRequestSerializer.WriteXmlElement Método

Definición

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

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

Parámetros

writer
XmlWriter

Objeto XmlWriter para el que se serializa el RTS.

elementName
String

Nombre local del elemento que se va a escribir.

elementValue
Object

Valor del elemento.

requestSecurityToken
RequestSecurityToken

Objeto RequestSecurityToken que se está serializando.

context
WSTrustSerializationContext

WSTrustSerializationContext que contiene el contexto de serialización actual.

Se aplica a