Edit

Share via


MetadataSerializer.ReadRoleDescriptorElement Method

Definition

Reads role descriptor elements.

protected:
 virtual bool ReadRoleDescriptorElement(System::Xml::XmlReader ^ reader, System::IdentityModel::Metadata::RoleDescriptor ^ roleDescriptor);
protected virtual bool ReadRoleDescriptorElement (System.Xml.XmlReader reader, System.IdentityModel.Metadata.RoleDescriptor roleDescriptor);
abstract member ReadRoleDescriptorElement : System.Xml.XmlReader * System.IdentityModel.Metadata.RoleDescriptor -> bool
override this.ReadRoleDescriptorElement : System.Xml.XmlReader * System.IdentityModel.Metadata.RoleDescriptor -> bool
Protected Overridable Function ReadRoleDescriptorElement (reader As XmlReader, roleDescriptor As RoleDescriptor) As Boolean

Parameters

reader
XmlReader

The XML reader.

roleDescriptor
RoleDescriptor

The role descriptor.

Returns

true if an element is read; otherwise, false.

Exceptions

reader is null.

-or-

roleDescriptor is .null

-or-

The Contacts property of roleDescriptor is null.

The Keys property of roleDescriptor is null.

Applies to