Condividi tramite


SamlSecurityTokenHandler.WriteAudienceRestrictionCondition Metodo

Definizione

Scrive l'elemento <saml:AudienceRestriction>.

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

Parametri

writer
XmlWriter

XmlWriter con cui scrivere i dati.

condition
SamlAudienceRestrictionCondition

Dati da scrivere.

Eccezioni

data è null.

-oppure-

writer è null.

La proprietà Conditions dell'oggetto SamlAudienceRestrictionCondition specificato in condition è null o una raccolta vuota.

Si applica a