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 | |
---|---|---|
![]() |
DuplicateMetadataObjectException() | Initializes a new instance of the class. |
![]() |
DuplicateMetadataObjectException(String) | Initializes a new instance of the class with a specified error message. |
![]() |
DuplicateMetadataObjectException(SerializationInfo, StreamingContext) | Initializes a new instance of the class with serialized data. |
![]() |
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. |
![]() |
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. |
![]() |
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. |
![]() |
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
Properties
Name | Description | |
---|---|---|
![]() |
Data | (Inherited from Exception.) |
![]() |
DuplicateFieldName | Gets or sets the field name of the metadata object that contains the duplicate value. |
![]() |
DuplicateMetadataObjectName | Gets or sets the name of the duplicate metadata object. |
![]() |
HasExplicitMessage | Gets a value that indicates whether the exception has a text message. (Inherited from MetadataException.) |
![]() |
HelpLink | (Inherited from Exception.) |
![]() |
HResult | (Inherited from Exception.) |
![]() |
InnerException | (Inherited from Exception.) |
![]() |
Message | Gets the message of the exception. (Overrides MetadataException.Message.) |
![]() |
MetadataObjectType | Gets or sets the type of the metadata object that caused the exception. (Inherited from MetadataException.) |
![]() |
ServerStackTrace | Gets or sets the server stack trace. (Inherited from MetadataException.) |
![]() |
Source | (Inherited from Exception.) |
![]() |
StackTrace | (Inherited from Exception.) |
![]() |
TargetSite | (Inherited from Exception.) |
Top
Methods
Name | Description | |
---|---|---|
![]() |
GetBaseException | (Inherited from Exception.) |
![]() |
GetObjectData | Gets the object data with the serialized information about the exception being thrown. (Overrides MetadataException.GetObjectData(SerializationInfo, StreamingContext).) |
![]() |
GetType | (Inherited from Exception.) |
![]() |
Initialize | Initializes the exception object with the specified duplicate metadata name, and the field name and type of the object that contains the duplicate value. |
![]() |
LogEvent | Logs the event in the server event log. (Inherited from MetadataException.) |
![]() |
ToString | Creates and returns a string representation of the current exception. (Overrides MetadataException.ToString().) |
Top
See Also
Reference
DuplicateMetadataObjectException Class
Microsoft.SharePoint.BusinessData.Administration.Client Namespace