Condividi tramite


InvalidMetadataObjectException Class

Represents the exception that is thrown if the metadata object you are trying to access or create is not valid.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.BusinessData.Infrastructure.BdcException
      Microsoft.BusinessData.MetadataModel.MetadataException
        Microsoft.BusinessData.MetadataModel.InvalidMetadataObjectException
          Microsoft.BusinessData.MetadataModel.DuplicateMetadataObjectException

Namespace:  Microsoft.BusinessData.MetadataModel
Assembly:  Microsoft.BusinessData (in Microsoft.BusinessData.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 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.

See Also

Reference

InvalidMetadataObjectException Members

Microsoft.BusinessData.MetadataModel Namespace