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.


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

[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.
© 2015 Microsoft