Export (0) Print
Expand All

DuplicateMetadataObjectException class

Represents an exception that is thrown when one or more metadata objects have field values that are equal in a context where this is not allowed.

System.Object
  System.Exception
    Microsoft.SharePoint.BusinessData.Administration.Client.MetadataException
      Microsoft.SharePoint.BusinessData.Administration.Client.DuplicateMetadataObjectException

Namespace:  Microsoft.SharePoint.BusinessData.Administration.Client
Assembly:  Microsoft.SharePoint.BusinessData.Administration.Client (in Microsoft.SharePoint.BusinessData.Administration.Client.dll)

[SerializableAttribute]
public class DuplicateMetadataObjectException : MetadataException

This metadata store exception can be thrown when objects that are loaded from the metadata store have the same name, despite belonging to different data classes. For example, two methods from different data classes have the same Name field value. When instances of these methods are validated, the DuplicateMetadataObjectException exception is thrown. After the objects are cached, validation is not performed again.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft