Udostępnij za pośrednictwem


SamlSecurityTokenHandler.WriteAudienceRestrictionCondition Metoda

Definicja

<Zapisuje 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

Element XmlWriter , za pomocą którego mają być zapisywane dane.

condition
SamlAudienceRestrictionCondition

Dane do zapisania.

Wyjątki

data to null.

-lub-

writer to null.

Właściwość Conditions określona SamlAudienceRestrictionCondition w pliku condition to null lub pusta kolekcja.

Dotyczy