Compartilhar via


ExceededMetadataObjectLimitException Class

Represents the exception thrown when the number of metadata objects of a particular type that is loaded into the cache exceeds a predefined limit, or if the number of metadata objects related to another metadata object exceeds a predefined limit.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.SharePoint.BusinessData.Administration.MetadataException
      Microsoft.SharePoint.BusinessData.Administration.ExceededMetadataObjectLimitException

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

Syntax

'Declaration
<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class ExceededMetadataObjectLimitException _
    Inherits MetadataException
'Usage
Dim instance As ExceededMetadataObjectLimitException
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class ExceededMetadataObjectLimitException : MetadataException

Remarks

The following are examples of predefined limits that, if exceeded, will cause an exception to be thrown:

  • A single external system object can have only 100 data classes.

  • A single metadata store instance in an application domain can load no more than 100 external system objects.

Thread Safety

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

See Also

Reference

ExceededMetadataObjectLimitException Members

Microsoft.SharePoint.BusinessData.Administration Namespace