Compartir a través de


SamlSecurityTokenHandler.WriteAudienceRestrictionCondition Método

Definición

Escribe el 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

Objeto XmlWriter con el que se va a escribir los datos.

condition
SamlAudienceRestrictionCondition

Datos que se van a escribir.

Excepciones

data es null.

O bien

writer es null.

La propiedad Conditions de SamlAudienceRestrictionCondition especificado en condition es null o una colección vacía.

Se aplica a