Saml2SecurityTokenHandler.WriteAudienceRestriction Método

Definição

Grava o elemento <saml:AudienceRestriction>.

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)

Parâmetros

writer
XmlWriter

O XmlWriter com o qual gravar os dados.

data
Saml2AudienceRestriction

Os dados a serem gravados.

Exceções

data é null.

- ou -

writer é null.

Aplica-se a