SamlSecurityTokenHandler.WriteAttributeValue Méthode

Définition

Écrit la valeur saml:Attribute.

protected:
 virtual void WriteAttributeValue(System::Xml::XmlWriter ^ writer, System::String ^ value, System::IdentityModel::Tokens::SamlAttribute ^ attribute);
protected virtual void WriteAttributeValue (System.Xml.XmlWriter writer, string value, System.IdentityModel.Tokens.SamlAttribute attribute);
abstract member WriteAttributeValue : System.Xml.XmlWriter * string * System.IdentityModel.Tokens.SamlAttribute -> unit
override this.WriteAttributeValue : System.Xml.XmlWriter * string * System.IdentityModel.Tokens.SamlAttribute -> unit
Protected Overridable Sub WriteAttributeValue (writer As XmlWriter, value As String, attribute As SamlAttribute)

Paramètres

writer
XmlWriter

XmlWriter à l'aide duquel effectuer l'écriture.

value
String

Chaîne contenant la valeur de l'attribut à écrire.

attribute
SamlAttribute

SamlAttribute qui représente l'attribut dont la valeur est écrite.

Exceptions

writer a la valeur null.

Remarques

Par défaut, la méthode écrit la valeur sous forme de chaîne.

S’applique à