WSTrustFeb2005ResponseSerializer.WriteXmlElement(XmlWriter, String, Object, RequestSecurityTokenResponse, WSTrustSerializationContext) Yöntem

Tanım

Belirtilen RSTR öğesini giden akışa yazar.Writes the specified RSTR element to the outgoing stream. Temel sınıf yöntemini geçersiz kılma.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)

Parametreler

writer
XmlWriter

XmlWriterRstr 'in serileştirildiği nesne.The XmlWriter object to which the RSTR is being serialized.

elementName
String

Yazılacak öğenin yerel adı.The local name of the element to be written.

elementValue
Object

Öğenin değeri.The value of the element.

rstr
RequestSecurityTokenResponse

RequestSecurityTokenResponseSerileştirilmekte olan nesne.The RequestSecurityTokenResponse object that is being serialized.

context
WSTrustSerializationContext

WSTrustSerializationContextGeçerli serileştirme bağlamını içeren bir.A WSTrustSerializationContext that contains the current serialization context.

Özel durumlar

rstr, null değeridir.rstr is null.

-veya--or- writer, null değeridir.writer is null.

-veya--or- context, null değeridir.context is null.

elementName null veya boş bir dize.elementName is null or an empty string.

Şunlara uygulanır