SamlSecurityTokenHandler.ReadAttribute(XmlReader) Método

Definição

Lê o elemento <saml:Attribute>.

protected:
 virtual System::IdentityModel::Tokens::SamlAttribute ^ ReadAttribute(System::Xml::XmlReader ^ reader);
protected virtual System.IdentityModel.Tokens.SamlAttribute ReadAttribute (System.Xml.XmlReader reader);
abstract member ReadAttribute : System.Xml.XmlReader -> System.IdentityModel.Tokens.SamlAttribute
override this.ReadAttribute : System.Xml.XmlReader -> System.IdentityModel.Tokens.SamlAttribute
Protected Overridable Function ReadAttribute (reader As XmlReader) As SamlAttribute

Parâmetros

reader
XmlReader

Um XmlReader posicionado no elemento a ser lido.

Retornos

Um SamlAssertion que representa o elemento Assertion que é lido.

Exceções

reader é null.

Comentários

A implementação padrão requer que o conteúdo do elemento Attribute seja uma cadeia de caracteres simples. Para lidar com conteúdo complexo ou conteúdo de tipos simples declarados diferentes de xs:string, substitua esse método.

Aplica-se a