MetadataSerializer.ReadEntitiesDescriptor 方法

定义

读取实体描述符。

protected:
 virtual System::IdentityModel::Metadata::EntitiesDescriptor ^ ReadEntitiesDescriptor(System::Xml::XmlReader ^ reader, System::IdentityModel::Selectors::SecurityTokenResolver ^ tokenResolver);
protected virtual System.IdentityModel.Metadata.EntitiesDescriptor ReadEntitiesDescriptor (System.Xml.XmlReader reader, System.IdentityModel.Selectors.SecurityTokenResolver tokenResolver);
abstract member ReadEntitiesDescriptor : System.Xml.XmlReader * System.IdentityModel.Selectors.SecurityTokenResolver -> System.IdentityModel.Metadata.EntitiesDescriptor
override this.ReadEntitiesDescriptor : System.Xml.XmlReader * System.IdentityModel.Selectors.SecurityTokenResolver -> System.IdentityModel.Metadata.EntitiesDescriptor
Protected Overridable Function ReadEntitiesDescriptor (reader As XmlReader, tokenResolver As SecurityTokenResolver) As EntitiesDescriptor

参数

reader
XmlReader

XML 读取器。

tokenResolver
SecurityTokenResolver

安全令牌解析器。

返回

实体描述符。

例外

readernull

XML 格式不正确。

适用于