Share via


ExceededMetadataObjectLimitException members

Represents the exception thrown when the number of metadata objects of a particular type that is loaded into the cache exceeds a predefined limit, or if the number of metadata objects related to another metadata object exceeds a predefined limit.

The ExceededMetadataObjectLimitException type exposes the following members.

Constructors

  Name Description
Public method ExceededMetadataObjectLimitException() Initializes a new instance of the class.
Public method ExceededMetadataObjectLimitException(String) Initializes a new instance of the class with a specified error message.
Protected method ExceededMetadataObjectLimitException(SerializationInfo, StreamingContext) Initializes a new instance of the class with serialized data.
Public method ExceededMetadataObjectLimitException(String, Exception) Initializes a new instance of the class with a specified error message and a reference to the inner exception that caused this exception.
Public method ExceededMetadataObjectLimitException(Type, Int32) Initializes a new instance of the class with the metadata object type, and the numerical limit that was exceeded.
Public method ExceededMetadataObjectLimitException(String, Type, Int32) Initializes a new instance of the class with a specified error message, the metadata object type, and the numerical limit that was exceeded.
Public method ExceededMetadataObjectLimitException(String, Exception, Type, Int32) Initializes a new instance of the class with a specified error message, a reference to the inner exception that caused this exception, the metadata object type, and the numerical limit that was exceeded.

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 Limit Gets or Sets the numerical limit that was exceeded.
Public property Message Gets the exception message. (Overrides MetadataException.Message.)
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 data by using the serialization information and the streaming context. (Overrides MetadataException.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetType (Inherited from Exception.)
Protected method LogEvent Logs the event. (Inherited from MetadataException.)
Public method ToString Creates and returns a string representation of the current exception object. (Overrides MetadataException.ToString().)

Top

See also

Reference

ExceededMetadataObjectLimitException class

Microsoft.SharePoint.BusinessData.Administration namespace