共用方式為


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

適用於