Edit

Share via


MetadataSerializer.ReadEntityDescriptor Method

Definition

Reads an entity descriptor.

protected:
 virtual System::IdentityModel::Metadata::EntityDescriptor ^ ReadEntityDescriptor(System::Xml::XmlReader ^ inputReader, System::IdentityModel::Selectors::SecurityTokenResolver ^ tokenResolver);
protected virtual System.IdentityModel.Metadata.EntityDescriptor ReadEntityDescriptor (System.Xml.XmlReader inputReader, System.IdentityModel.Selectors.SecurityTokenResolver tokenResolver);
abstract member ReadEntityDescriptor : System.Xml.XmlReader * System.IdentityModel.Selectors.SecurityTokenResolver -> System.IdentityModel.Metadata.EntityDescriptor
override this.ReadEntityDescriptor : System.Xml.XmlReader * System.IdentityModel.Selectors.SecurityTokenResolver -> System.IdentityModel.Metadata.EntityDescriptor
Protected Overridable Function ReadEntityDescriptor (inputReader As XmlReader, tokenResolver As SecurityTokenResolver) As EntityDescriptor

Parameters

inputReader
XmlReader

The XML reader.

tokenResolver
SecurityTokenResolver

The security token resolver.

Returns

An entity descriptor.

Exceptions

inputReader is null.

Applies to