SamlSecurityTokenHandler.ReadAdvice(XmlReader) Método

Definição

Lê o elemento <saml:Advice>.

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

Parâmetros

reader
XmlReader

Um XmlReader posicionado no elemento a ser lido.

Retornos

Um SamlAdvice que representa o elemento Advice que é lido.

Exceções

reader é null.

Comentários

O elemento Advice tem um ponto de extensibilidade para permitir que elementos XML de namespaces não SAML 1.1 sejam incluídos. Por padrão, como o Conselho pode ser ignorado sem afetar a semântica da asserção, tais elementos são ignorados. Para lidar com o processamento desses elementos, substitua esse método.

Aplica-se a