Edit

Share via


MetadataSerializer.WriteEntityDescriptor(XmlWriter, EntityDescriptor) Method

Definition

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