共用方式為


Saml2SecurityTokenHandler.WriteAuthenticationStatement 方法

定義

寫入 <saml:AuthnStatement> 項目。

protected:
 virtual void WriteAuthenticationStatement(System::Xml::XmlWriter ^ writer, System::IdentityModel::Tokens::Saml2AuthenticationStatement ^ data);
protected virtual void WriteAuthenticationStatement (System.Xml.XmlWriter writer, System.IdentityModel.Tokens.Saml2AuthenticationStatement data);
abstract member WriteAuthenticationStatement : System.Xml.XmlWriter * System.IdentityModel.Tokens.Saml2AuthenticationStatement -> unit
override this.WriteAuthenticationStatement : System.Xml.XmlWriter * System.IdentityModel.Tokens.Saml2AuthenticationStatement -> unit
Protected Overridable Sub WriteAuthenticationStatement (writer As XmlWriter, data As Saml2AuthenticationStatement)

參數

writer
XmlWriter

要用來寫入資料的 XmlWriter

data
Saml2AuthenticationStatement

要寫入的資料。

例外狀況

datanull

-或-

writernull

適用於