Saml2SecurityTokenHandler.WriteAttributeValue Método

Definição

Escreve o valor saml:Attribute.

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

Parâmetros

writer
XmlWriter

O XmlWriter com que escrever.

value
String

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

attribute
Saml2Attribute

A Saml2Attribute 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