Share via


InvalidMetadataPropertyException class

Represents the exception that is thrown if a metadata property is not valid.

Inheritance hierarchy

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

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 InvalidMetadataPropertyException _
    Inherits MetadataException
'Usage
Dim instance As InvalidMetadataPropertyException
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public class InvalidMetadataPropertyException : 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

InvalidMetadataPropertyException members

Microsoft.SharePoint.BusinessData.Administration namespace