Share via


WSTrustResponseSerializer.WriteXml 方法

定义

当在派生类中重写时,将指定的 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 对象。

writer
XmlWriter

要向其中进行写入的 XmlWriter

context
WSTrustSerializationContext

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

适用于