SamlSecurityTokenHandler.WriteAttributeValue Método

Definição

Escreve o valor 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)

Parâmetros

writer
XmlWriter

O XmlWriter com que escrever.

value
String

Uma cadeia que contém o valor do atributo a ser escrito.

attribute
SamlAttribute

A SamlAttribute que representa o atributo cujo valor está a ser escrito.

Exceções

writer é null.

Observações

Por defeito, o método escreve o valor como uma cadeia.

Aplica-se a