Compartilhar via


SamlSecurityTokenHandler.WriteAudienceRestrictionCondition Método

Definição

Grava o 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)

Parâmetros

writer
XmlWriter

O XmlWriter com o qual gravar os dados.

condition
SamlAudienceRestrictionCondition

Os dados a serem gravados.

Exceções

data é null.

- ou -

writer é null.

A propriedade Conditions do SamlAudienceRestrictionCondition especificado no condition é null ou uma coleção vazia.

Aplica-se a