Επεξεργασία

Κοινή χρήση μέσω


Saml2SecurityTokenHandler.WriteAudienceRestriction Method

Definition

Writes the <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)

Parameters

writer
XmlWriter

The XmlWriter with which to write the data.

data
Saml2AudienceRestriction

The data to write.

Exceptions

data is null.

-or-

writer is null.

Applies to