MetadataObjectNotFoundException members

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

The MetadataObjectNotFoundException type exposes the following members.

Constructors

  Name Description
Public method MetadataObjectNotFoundException() Initializes a new instance of the class.
Public method MetadataObjectNotFoundException(String) Initializes a new instance of the class with a specified error message.
Protected method MetadataObjectNotFoundException(SerializationInfo, StreamingContext) Initializes a new instance of the class with serialized data.
Public method MetadataObjectNotFoundException(String, Exception) Initializes a new instance of the class with a specified error message and a reference to the inner exception that caused this exception.
Public method MetadataObjectNotFoundException(Type, String) Initializes a new instance of the class with the metadata object Microsoft .NET Framework type and search criteria.
Public method MetadataObjectNotFoundException(String, Type, String) Initializes a new instance of the class with a specified error message, the metadata object Microsoft .NET Framework type, and the search criteria.
Public method MetadataObjectNotFoundException(String, Exception, Type, String) Initializes a new instance of the class with a specified error message, a reference to the inner exception that caused this exception, the metadata object Microsoft .NET Framework type, and the search criteria.

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property HasExplicitMessage Gets a value that indicates whether the exception has an explicit message. (Inherited from MetadataException.)
Protected property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message Gets the exception message. (Overrides MetadataException.Message.)
Public property MetadataObjectType Represents the Microsoft .NET Framework type of the metadata object that is responsible for the exception. (Inherited from MetadataException.)
Public property SearchCriteria Gets or sets the search criteria.
Public property ServerStackTrace Gets the server stack trace. (Inherited from MetadataException.)
Public property StackTrace (Inherited from Exception.)

Top

Methods

  Name Description
Public method GetBaseException (Inherited from Exception.)
Public method GetObjectData Gets the object data by using the serialization information and the streaming context. (Overrides MetadataException.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetType (Inherited from Exception.)
Protected method LogEvent Logs the event. (Inherited from MetadataException.)
Public method ToString Creates and returns a string representation of the current exception object. (Overrides MetadataException.ToString().)

Top

See also

Reference

MetadataObjectNotFoundException class

Microsoft.SharePoint.BusinessData.Administration namespace