Saml2SecurityTokenHandler.ReadAuthenticationStatement(XmlReader) 方法

定义

读取 <saml:AuthnStatement> 元素或 <saml:Statement> 元素,后者指定 saml:AuthnStatementType 的 xsi:type。

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

参数

reader
XmlReader

在要读取的元素指定的 XmlReader

返回

一个 Saml2AuthenticationStatement,表示所读取的元素。

例外

readernull

适用于