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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.