共用方式為


InvalidMetadataObjectException Class

Represents the exception thrown when a metadata object instance containing fields that are not valid or are corrupted is encountered.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.SharePoint.BusinessData.Administration.Client.MetadataException
      Microsoft.SharePoint.BusinessData.Administration.Client.InvalidMetadataObjectException

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

Syntax

'Declaration
<SerializableAttribute> _
Public Class InvalidMetadataObjectException _
    Inherits MetadataException
'Usage
Dim instance As InvalidMetadataObjectException
[SerializableAttribute]
public class InvalidMetadataObjectException : MetadataException

Remarks

Typically, the exception is thrown when the objects are loaded from the database. After an object is cached, validation is not reperformed.

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.SharePoint.BusinessData.Administration.Client Namespace