SamlSecurityTokenHandler.WriteSubject(XmlWriter, SamlSubject) 方法

定义

写入 <saml:Subject> 元素。

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

参数

writer
XmlWriter

用于写数据的 XmlWriter

subject
SamlSubject

要写入的数据。

例外

subjectnull

writernull

适用于