WSTrustFeb2005ResponseSerializer.WriteXmlElement Metodo

Definizione

Scrive l'elemento specificato di RSTR nel flusso in uscita. Override del metodo della classe base.

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

Parametri

writer
XmlWriter

Oggetto XmlWriter verso cui viene serializzato l'RSTR.

elementName
String

Nome locale dell'elemento da scrivere.

elementValue
Object

Valore dell'elemento.

rstr
RequestSecurityTokenResponse

Oggetto RequestSecurityTokenResponsein fase di serializzazione.

context
WSTrustSerializationContext

Oggetto WSTrustSerializationContext che contiene il contenuto di serializzazione correnti.

Eccezioni

rstr è null.

-oppure-

writer è null.

-oppure-

context è null.

elementName è null o una stringa vuota.

Si applica a