Saml2SecurityTokenHandler.WriteAttributeValue Método

Definição

Grava 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 o qual gravar.

value
String

Uma cadeia de caracteres que contém o valor de atributo a ser gravado.

attribute
Saml2Attribute

Um Saml2Attribute que representa o atributo cujo valor está sendo gravado.

Exceções

writer é null.

Comentários

Por padrão, o método grava o valor como uma cadeia de caracteres.

Aplica-se a