MetadataSerializer.ReadMetadataCore(XmlReader, SecurityTokenResolver) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reads an entity descriptor or an entities descriptor.
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
Parameters
- reader
- XmlReader
The XML reader.
- tokenResolver
- SecurityTokenResolver
The security token resolver.
Returns
The descriptor. An instance of the EntityDescriptor or EntitiesDescriptor class.
Exceptions
The reader is not positioned on an <EntityDescriptor>
or an <EntitiesDescriptor>
element.
Remarks
This method is called by the ReadMetadata methods.
Applies to
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.