InvalidMetadataObjectException Class

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

Namespace:  Microsoft.BusinessData.MetadataModel
Assembly:  Microsoft.BusinessData (in Microsoft.BusinessData.dll)

public class InvalidMetadataObjectException : MetadataException

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.