: DuplicateMetadataObjectException (Clase) (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.

Espacio de nombres:
Ensamblado: Microsoft.SharePoint.Portal (in microsoft.sharepoint.portal.dll)

Sintaxis

'Declaración
<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel:=True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
Public Class DuplicateMetadataObjectException
    Inherits InvalidMetadataObjectException
'Uso
Dim instance As DuplicateMetadataObjectException
[SerializableAttribute] 
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel=true)] 
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel=true)] 
public class DuplicateMetadataObjectException : InvalidMetadataObjectException

Jerarquía de herencia

System.Object
   System.Exception
     Microsoft.Office.Server.ApplicationRegistry.MetadataModel.MetadataException
       Microsoft.Office.Server.ApplicationRegistry.MetadataModel.InvalidMetadataObjectException
        Microsoft.Office.Server.ApplicationRegistry.MetadataModel.DuplicateMetadataObjectException

Seguridad de subprocesos

Todos los miembros estáticos públicos (compartidos en Visual Basic) de este tipo son seguros para la ejecución de subprocesos. No se garantiza que los miembros de instancia sean seguros para los subprocesos.

Vea también

Referencia

DuplicateMetadataObjectException (Miembros)
Microsoft.Office.Server.ApplicationRegistry.MetadataModel (Espacio de nombres)