DuplicateMetadataObjectException 成员 (Microsoft.Office.Server.ApplicationRegistry.MetadataModel)

This is just like the InvalidMetadataObjectException class, except that it includes a reference to the duplicate object as well as which field is causing the collision. These fields are not guaranteed to be populated; it is a best effort. When they are populated, they will contain the correct information.

以下表格列出了由 DuplicateMetadataObjectException 类型公开的成员。

公共构造函数

(另请参阅 受保护的构造函数 )

  名称 说明
公共方法 DuplicateMetadataObjectException 已重载。  

页首

受保护的构造函数

  名称 说明
受保护的方法 DuplicateMetadataObjectException 已重载。  

页首

公共属性

(另请参阅 受保护的属性 )

  名称 说明
公共属性 Data  (继承自 Exception
公共属性 HasExplicitMessage  (继承自 MetadataException
公共属性 HelpLink  (继承自 Exception
公共属性 InnerException  (继承自 Exception
公共属性 InvalidFieldName  Represents the field that is invalid.(继承自 InvalidMetadataObjectException
公共属性 InvalidMetadataObject  Represents the invalid metadata object.(继承自 InvalidMetadataObjectException
公共属性 Message 已重写。  
公共属性 MetadataObjectType  Gets or sets the type of the metadata object that caused the exception.(继承自 MetadataException
公共属性 Source  (继承自 Exception
公共属性 StackTrace  (继承自 Exception
公共属性 TargetSite  (继承自 Exception

页首

受保护的属性

  名称 说明
受保护的属性 HResult  (继承自 Exception

页首

公共方法

(另请参阅 受保护的方法 )

  名称 说明
公共方法 Equals  已重载。 (继承自 Object
公共方法 GetBaseException  (继承自 Exception
公共方法 GetHashCode  (继承自 Object
公共方法 GetObjectData  (继承自 InvalidMetadataObjectException
公共方法 GetType  (继承自 Exception
公共方法 静态 ReferenceEquals  (继承自 Object
公共方法 ToString 已重写。  

页首

受保护的方法

  名称 说明
受保护的方法 Finalize  (继承自 Object
受保护的方法 Initialize  (继承自 InvalidMetadataObjectException
受保护的方法 LogEvent  Logs the event in the server event log.(继承自 MetadataException
受保护的方法 MemberwiseClone  (继承自 Object

页首

另请参阅

参考

DuplicateMetadataObjectException 类
Microsoft.Office.Server.ApplicationRegistry.MetadataModel 命名空间