Saml2SecurityTokenHandler.WriteSubject(XmlWriter, Saml2Subject) 方法

定义

写入 <saml:Subject> 元素。

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

参数

writer
XmlWriter

用于写数据的 XmlWriter

data
Saml2Subject

要写入的数据。

例外

datanull

writernull

适用于