MetadataSerializer.WriteContactPerson(XmlWriter, ContactPerson) 方法

定义

写入联系人。

protected:
 virtual void WriteContactPerson(System::Xml::XmlWriter ^ writer, System::IdentityModel::Metadata::ContactPerson ^ contactPerson);
protected virtual void WriteContactPerson (System.Xml.XmlWriter writer, System.IdentityModel.Metadata.ContactPerson contactPerson);
abstract member WriteContactPerson : System.Xml.XmlWriter * System.IdentityModel.Metadata.ContactPerson -> unit
override this.WriteContactPerson : System.Xml.XmlWriter * System.IdentityModel.Metadata.ContactPerson -> unit
Protected Overridable Sub WriteContactPerson (writer As XmlWriter, contactPerson As ContactPerson)

参数

writer
XmlWriter

XML 编写器。

contactPerson
ContactPerson

联系人。

例外

writernull

contactPersonnull

- 或 -

contactPersonEmailAddresses 属性为 null

- 或 -

contactPersonTelephoneNumbers 属性为 null

适用于