DuplicateMetadataObjectException Members

Include Protected Members
Include Inherited Members

NOTE: This API is now obsolete.

This is just like the InvalidMetadataObjectException class, except that it includes a reference to the duplicate object as well as which field is causing the collision. These fields are not guaranteed to be populated; it is a best effort. When they are populated, they will contain the correct information.

The DuplicateMetadataObjectException type exposes the following members.

Constructors

  Name Description
Public method DuplicateMetadataObjectException() Obsolete.
Public method DuplicateMetadataObjectException(String) Obsolete.
Protected method DuplicateMetadataObjectException(SerializationInfo, StreamingContext) Obsolete.
Public method DuplicateMetadataObjectException(String, Exception) Obsolete.
Public method DuplicateMetadataObjectException(MetadataObject, String) Obsolete.
Public method DuplicateMetadataObjectException(String, MetadataObject, String) Obsolete.
Public method DuplicateMetadataObjectException(String, Exception, MetadataObject, String) Obsolete.

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property HasExplicitMessage Obsolete. (Inherited from MetadataException.)
Public property HelpLink (Inherited from Exception.)
Protected property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property InvalidFieldName Obsolete. Represents the field that is invalid. (Inherited from InvalidMetadataObjectException.)
Public property InvalidMetadataObject Obsolete. Represents the invalid metadata object. (Inherited from InvalidMetadataObjectException.)
Public property Message Obsolete. (Overrides InvalidMetadataObjectException.Message.)
Public property MetadataObjectType Obsolete. Gets or sets the type of the metadata object that caused the exception. (Inherited from MetadataException.)
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property TargetSite (Inherited from Exception.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Obsolete. (Inherited from InvalidMetadataObjectException.)
Public method GetType (Inherited from Exception.)
Protected method Initialize Obsolete. (Inherited from InvalidMetadataObjectException.)
Protected method LogEvent Obsolete. Logs the event in the server event log. (Inherited from MetadataException.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Obsolete. (Overrides InvalidMetadataObjectException.ToString().)

Top

See Also

Reference

DuplicateMetadataObjectException Class

Microsoft.Office.Server.ApplicationRegistry.MetadataModel Namespace