Compartir a través de


MetadataSerializer.ReadEntitiesDescriptor Método

Definición

Lee un descriptor de entidades.

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

Parámetros

reader
XmlReader

Lector XML.

tokenResolver
SecurityTokenResolver

Resolución del token de seguridad.

Devoluciones

Descriptor de entidades.

Excepciones

reader es null.

El XML no tiene un formato correcto.

Se aplica a