Freigeben über


Saml2SecurityTokenHandler.WriteAudienceRestriction Methode

Definition

Schreibt das <saml:AudienceRestriction>-Element.

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

Parameter

writer
XmlWriter

Der XmlWriter, mit dem die Daten geschrieben werden soll.

data
Saml2AudienceRestriction

Die zu schreibenden Daten.

Ausnahmen

data ist null.

- oder -

writer ist null.

Gilt für: