Saml2SecurityTokenHandler.ReadAdvice(XmlReader) Método

Definição

Lê o elemento <saml:Advice>.

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

Parâmetros

reader
XmlReader

Um XmlReader posicionado no elemento a ser lido.

Retornos

Um Saml2Advice 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 2.0 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