Saml2SecurityTokenHandler.ReadAttributeStatement(XmlReader) 方法

定义

读取 <saml:AttributeStatement> 元素或 <saml:Statement> 元素,后者指定 saml:AttributeStatementType 的 xsi:type。Reads the <saml:AttributeStatement> element, or a <saml:Statement> element that specifies an xsi:type of saml:AttributeStatementType.

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

参数

reader
XmlReader

在要读取的元素指定的 XmlReaderAn XmlReader positioned at the element to read.

返回

Saml2AttributeStatement

一个 Saml2AttributeStatement,表示所读取的元素。A Saml2AttributeStatement that represents the element that is read.

例外

readernullreader is null.

适用于