Edit

Share via


MetadataSerializer.ReadEntitiesDescriptor Method

Definition

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