InvalidMetadataPropertyException Members

Include Protected Members
Include Inherited Members

Represents the exception that is thrown if a metadata property is not valid.

The InvalidMetadataPropertyException type exposes the following members.

Constructors

  Name Description
Public method InvalidMetadataPropertyException() Constructs a new instance of the class.
Public method InvalidMetadataPropertyException(String) Constructs a new instance of the class with a message.
Protected method InvalidMetadataPropertyException(SerializationInfo, StreamingContext) Constructs a new instance of the class by using the serialization information and the streaming context.
Public method InvalidMetadataPropertyException(String, Exception) Constructs a new instance of the class with a message and the inner exception.
Public method InvalidMetadataPropertyException(Type, IExceptionHelper) Constructs a new instance of the class by using the metadata object type and an exception helper.
Public method InvalidMetadataPropertyException(String, String, Type, IExceptionHelper) Constructs a new instance of the class by using the property name that is not valid, a metadata object name, a metadata object type, and an exception helper.
Public method InvalidMetadataPropertyException(String, String, String, Type, IExceptionHelper) Constructs a new instance of the class with a message, a property name that is not valid, a metadata object name, a metadata object type, and an exception helper.
Public method InvalidMetadataPropertyException(String, Exception, String, String, Type, IExceptionHelper) Constructs a new instance of the class with a message, an inner exception, a property name that is not valid, a metadata object name, a metadata object type, 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 InvalidPropertyName Represents the name of the property 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 Gets the exception message string. (Overrides MetadataException.Message.)
Public property MetadataObjectName Gets or sets the name of the metadata object that contains the property that is not valid.
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 Retrieves object serialization 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

InvalidMetadataPropertyException Class

Microsoft.BusinessData.MetadataModel Namespace