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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.