共用方式為


WSTrustFeb2005ResponseSerializer.WriteKnownResponseElement 方法

定義

RequestSecurityTokenResponse 物件上的受支援項目寫入至流出資料流。

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

參數

writer
XmlWriter

要寫入至其中的 XmlWriter 物件。

context
WSTrustSerializationContext

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

例外狀況

rstrnull

-或-

writernull

-或-

contextnull

適用於