MetadataSerializer.WriteEntityDescriptor(XmlWriter, EntityDescriptor) 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 an entity descriptor.
protected:
virtual void WriteEntityDescriptor(System::Xml::XmlWriter ^ inputWriter, System::IdentityModel::Metadata::EntityDescriptor ^ entityDescriptor);
protected virtual void WriteEntityDescriptor (System.Xml.XmlWriter inputWriter, System.IdentityModel.Metadata.EntityDescriptor entityDescriptor);
abstract member WriteEntityDescriptor : System.Xml.XmlWriter * System.IdentityModel.Metadata.EntityDescriptor -> unit
override this.WriteEntityDescriptor : System.Xml.XmlWriter * System.IdentityModel.Metadata.EntityDescriptor -> unit
Protected Overridable Sub WriteEntityDescriptor (inputWriter As XmlWriter, entityDescriptor As EntityDescriptor)
Parameters
- inputWriter
- XmlWriter
The XML writer.
- entityDescriptor
- EntityDescriptor
The entity descriptor.
Exceptions
inputWriter
is null
.
-or-
entityDescriptor
is null
.
-or-
The Contacts property of entityDescriptor
is null
.
-or-
The RoleDescriptors property of entityDescriptor
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.