SamlSecurityTokenHandler.WriteStatement(XmlWriter, SamlStatement) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
寫一個 SamlStatement。
protected:
virtual void WriteStatement(System::Xml::XmlWriter ^ writer, System::IdentityModel::Tokens::SamlStatement ^ statement);
protected virtual void WriteStatement(System.Xml.XmlWriter writer, System.IdentityModel.Tokens.SamlStatement statement);
abstract member WriteStatement : System.Xml.XmlWriter * System.IdentityModel.Tokens.SamlStatement -> unit
override this.WriteStatement : System.Xml.XmlWriter * System.IdentityModel.Tokens.SamlStatement -> unit
Protected Overridable Sub WriteStatement (writer As XmlWriter, statement As SamlStatement)
參數
- statement
- SamlStatement
要寫入的資料。
例外狀況
備註
此方法可寫入 <saml:AttributeStatement>、 <saml:AuthnStatement> 或 <saml:AuthzDecisionStatement> 元素。 若要處理用於撰寫 SamlStatementsaml:Statement< 元素的自訂>類別,請覆寫此方法。