Compartilhar via


MetadataException Members

Include Protected Members
Include Inherited Members

Represents a base exception class for generic issues with metadata, which is thrown when the Business Connectivity Services Client Runtime engine encounters one of these issues.

The MetadataException type exposes the following members.

Constructors

  Name Description
Public method MetadataException() Initializes a new instance of the class.
Public method MetadataException(String) Initializes a new instance of the class with a message.
Public method MetadataException(Type) Initializes a new instance of the class with the metadata object type.
Protected method MetadataException(SerializationInfo, StreamingContext) Initializes a new instance of the class by using the serialization information and the streaming context.
Public method MetadataException(String, Exception) Initializes a new instance of the class with a message and the inner exception.
Public method MetadataException(String, Type) Initializes a new instance of the class with a message, and the metadata object type.
Public method MetadataException(String, Exception, Type) Initializes a new instance of the class with a message, the inner exception, and the metadataObjectType object.

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.
Public property HelpLink (Inherited from Exception.)
Protected property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message Gets or sets the exception message. (Overrides Exception.Message.)
Public property MetadataObjectType Represents the Microsoft .NET Framework type of the metadata object that is responsible for the exception.
Public property ServerStackTrace Gets the server stack trace.
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 Returns the object serialization and streaming data. (Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetType (Inherited from Exception.)
Protected method LogEvent Logs the event.
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Converts the exception to a string. (Overrides Exception.ToString().)

Top

See Also

Reference

MetadataException Class

Microsoft.SharePoint.BusinessData.Administration Namespace