InvalidMetadataObjectException Class
This exception is thrown if the metadata object you are trying to access or create is invalid.
Inheritance Hierarchy
System.Object
System.Exception
Microsoft.Office.Server.ApplicationRegistry.MetadataModel.MetadataException
Microsoft.Office.Server.ApplicationRegistry.MetadataModel.InvalidMetadataObjectException
Microsoft.Office.Server.ApplicationRegistry.MetadataModel.DuplicateMetadataObjectException
Namespace: Microsoft.Office.Server.ApplicationRegistry.MetadataModel
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class InvalidMetadataObjectException _
Inherits MetadataException
'Usage
Dim instance As InvalidMetadataObjectException
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class InvalidMetadataObjectException : MetadataException
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
InvalidMetadataObjectException Members
Microsoft.Office.Server.ApplicationRegistry.MetadataModel Namespace