DuplicateMetadataObjectException 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 an explicit message. (Inherited from MetadataException.) | |
HResult | (Inherited from Exception.) | |
InnerException | (Inherited from Exception.) | |
Message | Gets the message of the exception. (Overrides MetadataException.Message.) | |
MetadataObjectType | Represents the Microsoft .NET Framework type of the metadata object that is responsible for the exception. (Inherited from MetadataException.) | |
ServerStackTrace | Gets the server stack trace. (Inherited from MetadataException.) | |
StackTrace | (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. (Inherited from MetadataException.) | |
ToString | Creates and returns a string representation of the current exception. (Overrides MetadataException.ToString().) |
Top