Share via


DuplicateMetadataObjectException Constructor

Include Protected Members
Include Inherited Members

Initializes a new instance of the class by using various options.

Overload List

  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

See Also

Reference

DuplicateMetadataObjectException Class

DuplicateMetadataObjectException Members

Microsoft.BusinessData.MetadataModel Namespace