Compartilhar via


SamlSerializer.WriteAudienceRestrictionCondition Method

Definition

Writes the <saml:AudienceRestriction> element.

protected virtual void WriteAudienceRestrictionCondition (System.Xml.XmlWriter writer, Microsoft.IdentityModel.Tokens.Saml.SamlAudienceRestrictionCondition audienceRestriction);
abstract member WriteAudienceRestrictionCondition : System.Xml.XmlWriter * Microsoft.IdentityModel.Tokens.Saml.SamlAudienceRestrictionCondition -> unit
override this.WriteAudienceRestrictionCondition : System.Xml.XmlWriter * Microsoft.IdentityModel.Tokens.Saml.SamlAudienceRestrictionCondition -> unit
Protected Overridable Sub WriteAudienceRestrictionCondition (writer As XmlWriter, audienceRestriction As SamlAudienceRestrictionCondition)

Parameters

Exceptions

if audienceRestriction is null.

Applies to