Share via


MetadataException Members

Include Protected Members
Include Inherited Members

NOTE: This API is now obsolete.

Represents an exception thrown by a metadata object.

The MetadataException type exposes the following members.

Constructors

  Name Description
Public method MetadataException() Obsolete.
Public method MetadataException(String) Obsolete.
Public method MetadataException(Type) Obsolete.
Protected method MetadataException(SerializationInfo, StreamingContext) Obsolete.
Public method MetadataException(String, Exception) Obsolete.
Public method MetadataException(String, Type) Obsolete.
Public method MetadataException(String, Exception, Type) Obsolete.

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property HasExplicitMessage Obsolete.
Public property HelpLink (Inherited from Exception.)
Protected property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message Obsolete. Represents the error message. (Overrides Exception.Message.)
Public property MetadataObjectType Obsolete. Gets or sets the type of the metadata object that caused the exception.
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. Serializes the information about the metadata object that caused the exception. (Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetType (Inherited from Exception.)
Protected method LogEvent Obsolete. Logs the event in the server event log.
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Obsolete. (Overrides Exception.ToString().)

Top

See Also

Reference

MetadataException Class

Microsoft.Office.Server.ApplicationRegistry.MetadataModel Namespace