Επεξεργασία

Κοινή χρήση μέσω


SamlSecurityTokenHandler.ReadAttribute(XmlReader) Method

Definition

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

reader
XmlReader

An XmlReader positioned at the element to read.

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