共用方式為


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 格式不正確。

適用於