Saml2SecurityTokenHandler.WriteSubjectConfirmationData 方法

定义

写入 <saml:SubjectConfirmationData> 元素。

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

参数

writer
XmlWriter

用于写数据的 XmlWriter

data
Saml2SubjectConfirmationData

要写入的数据。

例外

datanull

writernull

注解

当数据。KeyIdentifiers 集合不为空,将编写 xsi:type 属性,指定 saml:KeyInfoConfirmationDataType。

适用于