InvalidMetadataPropertyException 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.)
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 StackTrace (Inherited from Exception.)

Top

Methods

  Name Description
Public method GetBaseException (Inherited from Exception.)
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.)
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