MetadataSerializer.ReadEntitiesDescriptor 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 entities descriptor.
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
Parameters
- reader
- XmlReader
The XML reader.
- tokenResolver
- SecurityTokenResolver
The security token resolver.
Returns
The entities descriptor.
Exceptions
reader
is null
.
The XML is not well-formed.
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.