ExceededMetadataObjectLimitException Constructor (String, Exception, Type, Int32, IExceptionHelper)
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 .NET Framework Type, and the numerical limit that was exceeded.
Namespace: Microsoft.BusinessData.MetadataModel
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
inner As Exception, _
metadataObjectType As Type, _
limit As Integer, _
exh As IExceptionHelper _
)
'Usage
Dim message As String
Dim inner As Exception
Dim metadataObjectType As Type
Dim limit As Integer
Dim exh As IExceptionHelper
Dim instance As New ExceededMetadataObjectLimitException(message, _
inner, metadataObjectType, limit, _
exh)
public ExceededMetadataObjectLimitException(
string message,
Exception inner,
Type metadataObjectType,
int limit,
IExceptionHelper exh
)
Parameters
message
Type: System.StringThe message that describes the error.
inner
Type: System.ExceptionThe exception that is the cause of the current exception.
metadataObjectType
Type: System.TypeThe type of metadata object involved in the limit violation.
limit
Type: System.Int32The numerical value of the limit.
exh
Type: Microsoft.BusinessData.Infrastructure.IExceptionHelperThe exception helper that assists in the localization of the error message.
See Also
Reference
ExceededMetadataObjectLimitException Class
ExceededMetadataObjectLimitException Members