WSTrustFeb2005ResponseSerializer.WriteXmlElement Metodo

Definizione

Scrive l'elemento RSTR specificato nel flusso in uscita. Eseguire l'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 a cui viene serializzato il valore RSTR.

elementName
String

Nome locale dell'elemento da scrivere.

elementValue
Object

Valore dell'elemento.

context
WSTrustSerializationContext

Oggetto WSTrustSerializationContext contenente il contesto di serializzazione corrente.

Eccezioni

rstr è null.

oppure

writer è null.

oppure

context è null.

elementName è null o una stringa vuota.

Si applica a