Share via


MetadataException Class

Represents an exception thrown by a metadata object.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.Office.Server.ApplicationRegistry.MetadataModel.MetadataException
      Microsoft.Office.Server.ApplicationRegistry.MetadataModel.ExceededMetadataObjectLimitException
      Microsoft.Office.Server.ApplicationRegistry.MetadataModel.InvalidMetadataObjectException
      Microsoft.Office.Server.ApplicationRegistry.MetadataModel.InvalidMetadataPropertyException
      Microsoft.Office.Server.ApplicationRegistry.MetadataModel.MetadataObjectNotFoundException
      Microsoft.Office.Server.ApplicationRegistry.MetadataModel.MissingMetadataPropertyException

Namespace:  Microsoft.Office.Server.ApplicationRegistry.MetadataModel
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.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

Remarks

Contains information about the metadata object that caused the 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.Office.Server.ApplicationRegistry.MetadataModel Namespace