Szerkesztés

Megosztás a következőn keresztül:


Saml2SecurityTokenHandler.ReadAttribute(XmlReader) Method

Definition

Reads the <saml:Attribute> element.

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

Parameters

reader
XmlReader

An XmlReader positioned at the element to read.

Returns

A Saml2Assertion 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