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 命名空间
.gif)
.gif)
.gif)
.gif)
.gif)