DuplicateMetadataObjectException constructor

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(String, String, Type) Initializes a new instance of the class with the specified duplicate metadata name, and the field name and type of the object that contains the duplicate value.
Public method DuplicateMetadataObjectException(String, String, String, Type) Initializes a new instance of the class with a specified error message, the duplicate metadata name, and the field name and type of the object that contains the duplicate value.
Public method DuplicateMetadataObjectException(String, Exception, String, String, Type) 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 name, and the field name and type of the object that contains the duplicate value.

Top

See also

Reference

DuplicateMetadataObjectException class

DuplicateMetadataObjectException members

Microsoft.SharePoint.BusinessData.Administration namespace