共用方式為


MetadataSerializer.ReadMetadataCore(XmlReader, SecurityTokenResolver) 方法

定義

讀取實體描述元。

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

參數

reader
XmlReader

XML 讀取器。

tokenResolver
SecurityTokenResolver

安全性權杖解析程式。

傳回

描述元。 EntityDescriptorEntitiesDescriptor 類別的執行個體。

例外狀況

readernull

-或-

tokenResolvernull

讀取器不在 <EntityDescriptor><EntitiesDescriptor> 項目上。

備註

此方法是由 ReadMetadata 方法呼叫。

適用於