WSTrustFeb2005ResponseSerializer.WriteXmlElement(XmlWriter, String, Object, RequestSecurityTokenResponse, WSTrustSerializationContext) Metodo

Definizione

Scrive l'elemento specificato di RSTR nel flusso in uscita.Writes the specified RSTR element to the outgoing stream. Override del metodo della classe base.Override of the base class method.

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.The XmlWriter object to which the RSTR is being serialized.

elementName
String

Nome locale dell'elemento da scrivere.The local name of the element to be written.

elementValue
Object

Valore dell'elemento.The value of the element.

rstr
RequestSecurityTokenResponse

Oggetto RequestSecurityTokenResponsein fase di serializzazione.The RequestSecurityTokenResponse object that is being serialized.

context
WSTrustSerializationContext

Oggetto WSTrustSerializationContext che contiene il contenuto di serializzazione correnti.A WSTrustSerializationContext that contains the current serialization context.

Eccezioni

rstr è null.rstr is null.

-oppure--or- writer è null.writer is null.

-oppure--or- context è null.context is null.

elementName è null o una stringa vuota.elementName is null or an empty string.

Si applica a