SamlSerializer.ReadAdvice(XmlDictionaryReader) Method

Definition

Reads the <saml:Advice> element.

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

Parameters

reader
XmlDictionaryReader

A XmlReader positioned at a SamlAdvice element.

Returns

A SamlAdvice instance.

Remarks

The Advice element has an extensibility point to allow XML elements from non-SAML namespaces to be included. By default, because the Advice may be ignored without affecting the semantics of the assertion, any such elements are ignored. To handle the processing of those elements, override this method.

Applies to