WSTrustResponseSerializer.WriteXml 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在衍生類別中覆寫時,將指定的 RequestSecurityTokenResponse 物件序列化至 XmlWriter 物件。
public:
abstract void WriteXml(System::IdentityModel::Protocols::WSTrust::RequestSecurityTokenResponse ^ response, System::Xml::XmlWriter ^ writer, System::IdentityModel::Protocols::WSTrust::WSTrustSerializationContext ^ context);
public abstract void WriteXml (System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse response, System.Xml.XmlWriter writer, System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext context);
abstract member WriteXml : System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse * System.Xml.XmlWriter * System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext -> unit
Public MustOverride Sub WriteXml (response As RequestSecurityTokenResponse, writer As XmlWriter, context As WSTrustSerializationContext)
參數
- response
- RequestSecurityTokenResponse
要序列化的 RequestSecurityTokenResponse 物件。
- context
- WSTrustSerializationContext
WSTrustSerializationContext,包含目前序列化內容。