WSTrustResponseSerializer.WriteXmlElement 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在衍生類別中覆寫時,寫入 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)
參數
- elementName
- String
要寫入之項目的區域名稱。
- elementValue
- Object
項目的值。
- requestSecurityTokenResponse
- RequestSecurityTokenResponse
正在序列化的 RequestSecurityTokenResponse 物件。
- context
- WSTrustSerializationContext
WSTrustSerializationContext,包含目前序列化內容。