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 type.
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 a text 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 Gets or sets the type of the metadata object that caused the exception. (Inherited from MetadataException.)
Public property ServerStackTrace Gets or sets 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 GetBaseException (Inherited from Exception.)
Public method GetObjectData Retrieves object serialization and streaming data. (Overrides MetadataException.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetType (Inherited from Exception.)
Protected method LogEvent Logs the event in the server event log. (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.Client Namespace