WSTrustResponseSerializer.WriteXml(RequestSecurityTokenResponse, XmlWriter, WSTrustSerializationContext) 方法

定义

当在派生类中重写时,将指定的 RequestSecurityTokenResponse 对象序列化到 XmlWriter 对象。When overridden in a derived class, serializes the specified RequestSecurityTokenResponse object into the XmlWriter object.

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 对象。The RequestSecurityTokenResponse object to serialize.

writer
XmlWriter

要向其中进行写入的 XmlWriterThe XmlWriter to write to.

context
WSTrustSerializationContext

一个 WSTrustSerializationContext,包含当前的序列化上下文。A WSTrustSerializationContext that contains the current serialization context.

适用于