語言

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 A 包含目前序列化上下文。

例外狀況

rstr 是 null。

-或-

writer 是 null。

-或-

context 是 null。

適用於