MetadataException Members

Include Protected Members
Include Inherited Members

Represents a base exception class that is thrown when the runtime engine encounters miscellaneous issues with Microsoft Business Connectivity Services (BCS) metadata.

The MetadataException type exposes the following members.

Constructors

  Name Description
Public method MetadataException() Initializes a new instance of the class.
Public method MetadataException(String) Initializes a new instance of the class with a message.
Protected method MetadataException(SerializationInfo, StreamingContext) Initializes a new instance of the class by using the serialization information and the streaming context.
Public method MetadataException(String, Exception) Initializes a new instance of the class with a message and the inner exception.
Public method MetadataException(Type, IExceptionHelper) Initializes a new instance of the class with the metadata object type and an exception helper.
Public method MetadataException(String, Type, IExceptionHelper) Initializes a new instance of the class with a message, metadata object type, and an exception helper.
Public method MetadataException(String, Exception, Type, IExceptionHelper) Initializes a new instance of the class with a message, the inner exception, the metadataObjectType object, 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 Represents the error message. (Overrides BdcException.Message.)
Public property MetadataObjectType Gets or sets the type of the metadata object that caused the exception.
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 Serializes the information about the metadata object that caused the exception. (Overrides BdcException.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetType (Inherited from Exception.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Converts the exception object to a string. (Overrides BdcException.ToString().)

Top

See Also

Reference

MetadataException Class

Microsoft.BusinessData.MetadataModel Namespace