MetadataSerializer.WriteRoleDescriptorElements 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.
Writes the role descriptor element.
protected:
virtual void WriteRoleDescriptorElements(System::Xml::XmlWriter ^ writer, System::IdentityModel::Metadata::RoleDescriptor ^ roleDescriptor);
protected virtual void WriteRoleDescriptorElements (System.Xml.XmlWriter writer, System.IdentityModel.Metadata.RoleDescriptor roleDescriptor);
abstract member WriteRoleDescriptorElements : System.Xml.XmlWriter * System.IdentityModel.Metadata.RoleDescriptor -> unit
override this.WriteRoleDescriptorElements : System.Xml.XmlWriter * System.IdentityModel.Metadata.RoleDescriptor -> unit
Protected Overridable Sub WriteRoleDescriptorElements (writer As XmlWriter, roleDescriptor As RoleDescriptor)
Parameters
- writer
- XmlWriter
The XML writer.
- roleDescriptor
- RoleDescriptor
The role descriptor.
Exceptions
writer
is null
.
-or-
roleDescriptor
is .null
-or-
The Contacts property of roleDescriptor
is null
.
The Keys property of roleDescriptor
is null
.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.