Sdílet prostřednictvím


Saml2SecurityTokenHandler.WriteAudienceRestriction Metoda

Definice

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

Parametry

writer
XmlWriter

Hodnota XmlWriter , pomocí které se mají zapisovat data.

data
Saml2AudienceRestriction

Data k zápisu.

Výjimky

data je null.

-nebo-

writer je null.

Platí pro