共用方式為


WSTrust13ResponseSerializer.WriteXml 方法

定義

將指定的 RequestSecurityTokenResponse 物件序列化為 XmlWriter 物件。

public:
 override void WriteXml(System::IdentityModel::Protocols::WSTrust::RequestSecurityTokenResponse ^ response, System::Xml::XmlWriter ^ writer, System::IdentityModel::Protocols::WSTrust::WSTrustSerializationContext ^ context);
public override void WriteXml (System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse response, System.Xml.XmlWriter writer, System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext context);
override this.WriteXml : System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse * System.Xml.XmlWriter * System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext -> unit
Public Overrides Sub WriteXml (response As RequestSecurityTokenResponse, writer As XmlWriter, context As WSTrustSerializationContext)

參數

response
RequestSecurityTokenResponse

要序列化的 RequestSecurityTokenResponse 物件。

writer
XmlWriter

要寫入至其中的 XmlWriter 物件。

context
WSTrustSerializationContext

WSTrustSerializationContext,包含目前序列化內容。

例外狀況

requestnull

-或-

writernull

-或-

contextnull

適用於