Share via


MetadataException Members

Include Protected Members
Include Inherited Members

Represents an exception thrown by a metadata object.

The MetadataException type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property HasExplicitMessage
Public property HelpLink (Inherited from Exception.)
Protected property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message Represents the error message. (Overrides Exception.Message.)
Public property MetadataObjectType 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 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 Logs the event in the server event log.
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Overrides Exception.ToString().)

Top

See Also

Reference

MetadataException Class

Microsoft.Office.Server.ApplicationRegistry.MetadataModel Namespace