Partager via


Saml2SecurityTokenHandler.WriteAudienceRestriction Méthode

Définition

Écrit l’élément <saml:AudienceRestriction>.

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

Paramètres

writer
XmlWriter

XmlWriter à l'aide duquel écrire les données.

data
Saml2AudienceRestriction

Données à écrire.

Exceptions

data a la valeur null.

-ou-

writer a la valeur null.

S’applique à