MetadataSerializer.ReadRoleDescriptorElement 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 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.