Bagikan melalui


SamlEvidence.WriteXml Metode

Definisi

Menulis bukti ke dalam serializer XML yang ditentukan.

public:
 virtual void WriteXml(System::Xml::XmlDictionaryWriter ^ writer, System::IdentityModel::Tokens::SamlSerializer ^ samlSerializer, System::IdentityModel::Selectors::SecurityTokenSerializer ^ keyInfoSerializer);
public virtual void WriteXml (System.Xml.XmlDictionaryWriter writer, System.IdentityModel.Tokens.SamlSerializer samlSerializer, System.IdentityModel.Selectors.SecurityTokenSerializer keyInfoSerializer);
abstract member WriteXml : System.Xml.XmlDictionaryWriter * System.IdentityModel.Tokens.SamlSerializer * System.IdentityModel.Selectors.SecurityTokenSerializer -> unit
override this.WriteXml : System.Xml.XmlDictionaryWriter * System.IdentityModel.Tokens.SamlSerializer * System.IdentityModel.Selectors.SecurityTokenSerializer -> unit
Public Overridable Sub WriteXml (writer As XmlDictionaryWriter, samlSerializer As SamlSerializer, keyInfoSerializer As SecurityTokenSerializer)

Parameter

writer
XmlDictionaryWriter

A XmlDictionaryWriter untuk menulis bukti.

samlSerializer
SamlSerializer

SamlSerializer yang mampu menulis elemen XML dalam pernyataan SAML.

keyInfoSerializer
SecurityTokenSerializer

SecurityTokenSerializer Yang mampu menulis KeyInfo klausul.

Pengecualian

writeradalah null.

-atau-

samlSerializeradalah null.

Keterangan

WriteXml(XmlDictionaryWriter, SamlSerializer, SecurityTokenSerializer) Gunakan metode untuk menulis instans saat ini SamlEvidence ke dalam <saml:Evidence> elemen .

Berlaku untuk