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

适用于