WSTrustResponseSerializer.WriteKnownResponseElement 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在衍生類別中覆寫時,將 RequestSecurityTokenResponse 物件上的受支援項目寫入至流出資料流中。
public:
abstract void WriteKnownResponseElement(System::IdentityModel::Protocols::WSTrust::RequestSecurityTokenResponse ^ requestSecurityTokenResponse, System::Xml::XmlWriter ^ writer, System::IdentityModel::Protocols::WSTrust::WSTrustSerializationContext ^ context);
public abstract void WriteKnownResponseElement (System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse requestSecurityTokenResponse, System.Xml.XmlWriter writer, System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext context);
abstract member WriteKnownResponseElement : System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse * System.Xml.XmlWriter * System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext -> unit
Public MustOverride Sub WriteKnownResponseElement (requestSecurityTokenResponse As RequestSecurityTokenResponse, writer As XmlWriter, context As WSTrustSerializationContext)
參數
- requestSecurityTokenResponse
- RequestSecurityTokenResponse
要序列化的 RequestSecurityTokenResponse 物件。
- context
- WSTrustSerializationContext
WSTrustSerializationContext,包含目前序列化內容。