Share via


ExceededMetadataObjectLimitException Constructor (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.

Namespace:  Microsoft.SharePoint.BusinessData.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    metadataObjectType As Type, _
    limit As Integer _
)
'Usage
Dim message As String
Dim metadataObjectType As Type
Dim limit As Integer

Dim instance As New ExceededMetadataObjectLimitException(message, _
    metadataObjectType, limit)
public ExceededMetadataObjectLimitException(
    string message,
    Type metadataObjectType,
    int limit
)

Parameters

  • message
    Type: System.String

    The message that describes the error.

  • metadataObjectType
    Type: System.Type

    The type of metadata object involved in the limit violation.

  • limit
    Type: System.Int32

    The numerical value of the limit.

See Also

Reference

ExceededMetadataObjectLimitException Class

ExceededMetadataObjectLimitException Members

ExceededMetadataObjectLimitException Overload

Microsoft.SharePoint.BusinessData.Administration Namespace