InvalidMetadataObjectException Class
Thrown when a metadata object instance containing invalid or corrupt fields is encountered.
Inheritance Hierarchy
System.Object
System.Exception
Microsoft.SharePoint.BusinessData.Administration.MetadataException
Microsoft.SharePoint.BusinessData.Administration.InvalidMetadataObjectException
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 InvalidMetadataObjectException _
Inherits MetadataException
'Usage
Dim instance As InvalidMetadataObjectException
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public class InvalidMetadataObjectException : MetadataException
Remarks
Typically, the exception is thrown when the objects are loaded from the database. Once an object is cached, validation is not performed again.
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.