InvalidMetadataPropertyException Members

Include Protected Members
Include Inherited Members

Represents the exception that is thrown if a metadata property is not valid.

The InvalidMetadataPropertyException type exposes the following members.

Constructors

  Name Description
Public method InvalidMetadataPropertyException() Constructs a new instance of the class.
Public method InvalidMetadataPropertyException(String) Constructs a new instance of the class with a message.
Public method InvalidMetadataPropertyException(Type) Constructs a new instance of the class by using the metadata object.
Protected method InvalidMetadataPropertyException(SerializationInfo, StreamingContext) Constructs a new instance of the class by using the serialization information and the streaming context.
Public method InvalidMetadataPropertyException(String, Exception) Constructs a new instance of the class with a message and the inner exception.
Public method InvalidMetadataPropertyException(String, String, Type) Constructs a new instance of the class by using the property name that is not valid, a metadata object name, and a metadata object type.
Public method InvalidMetadataPropertyException(String, String, String, Type) Constructs a new instance of the class with a message, a property name that is not valid, a metadata object name, and a metadata object type.
Public method InvalidMetadataPropertyException(String, Exception, String, String, Type) Constructs a new instance of the class with a message, an inner exception, a property name that is not valid, a metadata object name, and a metadata object type.

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property HasExplicitMessage Gets a value that indicates whether the exception has an explicit message. (Inherited from MetadataException.)
Public property HelpLink (Inherited from Exception.)
Protected property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property InvalidPropertyName Gets or sets the name of the property that is not valid.
Public property Message Gets the exception message string. (Overrides MetadataException.Message.)
Public property MetadataObjectName Gets or sets the name of the metadata object that contains the property that is not valid.
Public property MetadataObjectType Represents the Microsoft .NET Framework type of the metadata object that is responsible for the exception. (Inherited from MetadataException.)
Public property ServerStackTrace Gets the server stack trace. (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 Gets the object serialization and streaming data. (Overrides MetadataException.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetType (Inherited from Exception.)
Protected method LogEvent Logs the event. (Inherited from MetadataException.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Converts and returns a string representation of this exception. (Overrides MetadataException.ToString().)

Top

See Also

Reference

InvalidMetadataPropertyException Class

Microsoft.SharePoint.BusinessData.Administration Namespace