InvalidMetadataObjectException Members

Include Protected Members
Include Inherited Members

Represents the exception that is thrown if the metadata object you are trying to access or create is not valid.

The InvalidMetadataObjectException type exposes the following members.

Constructors

  Name Description
Public method InvalidMetadataObjectException() Constructs a new instance of the class.
Public method InvalidMetadataObjectException(String) Constructs a new instance of the class with a message string.
Protected method InvalidMetadataObjectException(SerializationInfo, StreamingContext) Constructs a new instance of the class by using the serialization information and the streaming context.
Public method InvalidMetadataObjectException(String, Exception) Constructs a new instance of the class by using a message and the inner exception.
Public method InvalidMetadataObjectException(IMetadataObject, String, IExceptionHelper) Constructs a new instance of the class by using a metadata object, a field name, and an exception helper.
Public method InvalidMetadataObjectException(String, IMetadataObject, String, IExceptionHelper) Constructs a new instance of the class by using a message, a metadata object, a field name, and an exception helper.
Public method InvalidMetadataObjectException(String, Exception, IMetadataObject, String, IExceptionHelper) Constructs a new instance of the class by using a message, the inner exception, the metadata object that is not valid, the field name that is not valid, 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 InvalidFieldName Represents the field that is not valid.
Public property InvalidMetadataObject Represents the metadata object that is not valid.
Public property IsRetriable Determines whether it is safe to retry the operation that caused the exception. (Inherited from BdcException.)
Public property Message Represents the exception message. (Overrides MetadataException.Message.)
Public property MetadataObjectType Gets or sets the type of the metadata object that caused the exception. (Inherited from MetadataException.)
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 Returns the object serialization and streaming data. (Overrides MetadataException.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetType (Inherited from Exception.)
Protected method Initialize Initializes the exception object.
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Converts the exception object to a string. (Overrides MetadataException.ToString().)

Top

See Also

Reference

InvalidMetadataObjectException Class

Microsoft.BusinessData.MetadataModel Namespace