共用方式為


MetadataSerializer.WriteEntityDescriptor(XmlWriter, EntityDescriptor) 方法

定義

寫入實體描述元。

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)

參數

inputWriter
XmlWriter

XML 寫入器。

entityDescriptor
EntityDescriptor

實體描述元。

例外狀況

inputWriternull

-或-

entityDescriptornull

-或-

entityDescriptorContacts 屬性為 null

-或-

entityDescriptorRoleDescriptors 屬性為 null

適用於