SamlSecurityTokenHandler.WriteEvidence(XmlWriter, SamlEvidence) 方法

定义

写入 <saml:Evidence> 元素。

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

参数

writer
XmlWriter

用于写数据的 XmlWriter

evidence
SamlEvidence

要写入的数据。

例外

evidencenull

writernull

适用于