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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.