Export (0) Print
Expand All

MetadataObjectNotFoundException class

Throws an exception if the requested metadata object cannot be found in the Business Data Connectivity (BDC) service metadata store.

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

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

[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class MetadataObjectNotFoundException : MetadataException

Typically, the methods GetById or GetByName throw this exception. Also, methods such as MethodInstance.GetDataClass can throw it in extreme cases; this is typically not seen and points to a corruption of the run-time memory.

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