Condividi tramite


MetadataObjectNotFoundException Members

Include Protected Members
Include Inherited 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.)
Public property HelpLink (Inherited from Exception.)
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 Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property TargetSite (Inherited from Exception.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
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.)
Protected method MemberwiseClone (Inherited from Object.)
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