Sdílet prostřednictvím


SamlSecurityTokenHandler.WriteAudienceRestrictionCondition Metoda

Definice

Zapíše <element 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)

Parametry

writer
XmlWriter

Pomocí XmlWriter kterého chcete zapsat data.

condition
SamlAudienceRestrictionCondition

Data, která se mají zapsat.

Výjimky

data je null.

-nebo-

writer je null.

Vlastnost Conditions zadané condition v SamlAudienceRestrictionCondition je null nebo prázdná kolekce.

Platí pro