Bagikan melalui


SamlAudienceRestrictionCondition.WriteXml Metode

Definisi

<AudienceRestrictionCondition> Menulis elemen ke dalam serializer XML yang ditentukan.

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

Parameter

writer
XmlDictionaryWriter

A XmlDictionaryWriter untuk menulis <AudienceRestrictionCondition> elemen .

samlSerializer
SamlSerializer

SamlSerializer yang mampu menulis elemen XML dalam pernyataan SAML yang didefinisikan dalam spesifikasi SAML.

keyInfoSerializer
SecurityTokenSerializer

SecurityTokenSerializer Yang mampu menulis KeyInfo klausul.

Pengecualian

writeradalah null.

-atau-

samlSerializeradalah null.

Berlaku untuk