DuplicateMetadataObjectException Members

Include Protected Members
Include Inherited Members

Represents an exception that is thrown when one or more metadata objects have field values that are equal in a context where this is not allowed.

The DuplicateMetadataObjectException type exposes the following members.

Constructors

  Name Description
Public method DuplicateMetadataObjectException() Initializes a new instance of the class.
Public method DuplicateMetadataObjectException(String) Initializes a new instance of the class with a specified error message.
Protected method DuplicateMetadataObjectException(SerializationInfo, StreamingContext) Initializes a new instance of the class with serialized data.
Public method DuplicateMetadataObjectException(String, Exception) Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
Public method DuplicateMetadataObjectException(IMetadataObject, String, IExceptionHelper) Initializes a new instance of the class, which contains a reference to the metadata object that is causing the problem because it is a duplicate.
Public method DuplicateMetadataObjectException(String, IMetadataObject, String, IExceptionHelper) Initializes a new instance of the class with a specified error message, the duplicate metadata object instance, and the name of the field that contains the duplicate.
Public method DuplicateMetadataObjectException(String, Exception, IMetadataObject, String, IExceptionHelper) Initializes a new instance of the class with a specified error message, a reference to the inner exception that caused this exception, the duplicate metadata object instance, and the name of the field that contains the duplicate.

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. (Inherited from InvalidMetadataObjectException.)
Public property InvalidMetadataObject Represents the metadata object that is not valid. (Inherited from InvalidMetadataObjectException.)
Public property IsRetriable Determines whether it is safe to retry the operation that caused the exception. (Inherited from BdcException.)
Public property Message Retrieves the message of the exception. (Overrides InvalidMetadataObjectException.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. (Inherited from InvalidMetadataObjectException.)
Public method GetType (Inherited from Exception.)
Protected method Initialize Initializes the exception object. (Inherited from InvalidMetadataObjectException.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Creates and returns a string representation of the current exception. (Overrides InvalidMetadataObjectException.ToString().)

Top

See Also

Reference

DuplicateMetadataObjectException Class

Microsoft.BusinessData.MetadataModel Namespace