Partilhar via


MetadataObjectNotFoundException Members

Include Protected Members
Include Inherited Members

Represents the exception thrown if the requested metadata object cannot be found in the Business Data Connectivity (BDC) service.

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 message.
Protected method MetadataObjectNotFoundException(SerializationInfo, StreamingContext) Initializes a new instance of the class by using the serialization information and the streaming context.
Public method MetadataObjectNotFoundException(String, Exception) Constructs a new instance of the class with a message and the inner exception.
Public method MetadataObjectNotFoundException(Type, String, IExceptionHelper) Constructs a new instance of the class with a search criteria, a metadata object type, and an exception helper.
Public method MetadataObjectNotFoundException(String, Type, String, IExceptionHelper) Constructs a new instance of the class with a message, the metadata object type, the search criteria, and an exception helper.
Public method MetadataObjectNotFoundException(String, Exception, Type, String, IExceptionHelper) Constructs a new instance of the class with a message, the inner exception, the metadata object type, the search criteria, and an exception helper.

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property ExceptionHelper Gets the exception helper that assists with localization. (Inherited from BdcException.)
Public property HasExplicitMessage Determines whether the exception has an explicit message that identifies the encountered problem instead of the generic message that corresponds to the type of the exception. (Inherited from BdcException.)
Public property HelpLink (Inherited from Exception.)
Protected property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property IsRetriable Determines whether it is safe to retry the operation that caused the exception. (Inherited from BdcException.)
Public property Message Returns the exception message string. (Overrides MetadataException.Message.)
Public property MetadataObjectType Gets or sets the type of the metadata object that caused the exception. (Inherited from MetadataException.)
Public property SearchCriteria Returns the exception search criteria.
Public property ServerStackTrace Gets a server stack trace. (Inherited from BdcException.)
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property State Gets the state of the Business Data Connectivity (BDC) service exception. (Inherited from BdcException.)
Public property TargetSite (Inherited from Exception.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method FillState This member is reserved for internal use and is not intended to be used directly from your code.
Provides the state of the exception. (Inherited from BdcException.)
Protected method Finalize (Inherited from Object.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Constructs a new instance of the class with serialization information and streaming context. (Overrides MetadataException.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetType (Inherited from Exception.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Converts the object to a string. (Overrides MetadataException.ToString().)

Top

See Also

Reference

MetadataObjectNotFoundException Class

Microsoft.BusinessData.MetadataModel Namespace