SamlSecurityTokenHandler.ReadAttribute(XmlReader) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reads the <saml:Attribute> element.
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
Parameters
Returns
A SamlAssertion that represents the Assertion element that is read.
Exceptions
reader
is null
.
Remarks
The default implementation requires that the content of the Attribute element be a simple string. To handle complex content or content of declared simple types other than xs:string, override this method.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.