WSTrustResponseSerializer.WriteXmlElement 方法

定义

当在派生类中重写时,将在 RSTR 内写入子元素。

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

参数

writer
XmlWriter

RSTR应被序列化的 XmlWriter 对象.

elementName
String

要编写的元素的本地名称。

elementValue
Object

元素的值。

requestSecurityTokenResponse
RequestSecurityTokenResponse

将要反序列化的 RequestSecurityTokenResponse 对象。

context
WSTrustSerializationContext

一个 WSTrustSerializationContext,包含当前的序列化上下文。

适用于