다음을 통해 공유


MetadataException Class

Represents a base exception class for generic issues with metadata, which is thrown when the Business Connectivity Services Client Runtime engine encounters one of these issues.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.SharePoint.BusinessData.Administration.MetadataException
      Microsoft.SharePoint.BusinessData.Administration.ConcurrentModificationException
      Microsoft.SharePoint.BusinessData.Administration.DuplicateMetadataObjectException
      Microsoft.SharePoint.BusinessData.Administration.ExceededMetadataObjectLimitException
      Microsoft.SharePoint.BusinessData.Administration.InvalidMetadataObjectException
      Microsoft.SharePoint.BusinessData.Administration.InvalidMetadataPropertyException
      Microsoft.SharePoint.BusinessData.Administration.MetadataObjectNotFoundException

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

Syntax

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

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

MetadataException Members

Microsoft.SharePoint.BusinessData.Administration Namespace