Share via


MetadataException Constructor (String, Exception, Type, IExceptionHelper)

Initializes a new instance of the class with a message, the inner exception, the metadataObjectType object, and an exception helper.

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, _
    exh As IExceptionHelper _
)
'Usage
Dim message As String
Dim inner As Exception
Dim metadataObjectType As Type
Dim exh As IExceptionHelper

Dim instance As New MetadataException(message, _
    inner, metadataObjectType, exh)
public MetadataException(
    string message,
    Exception inner,
    Type metadataObjectType,
    IExceptionHelper exh
)

Parameters

  • metadataObjectType
    Type: System.Type

    The metadata object type.

See Also

Reference

MetadataException Class

MetadataException Members

MetadataException Overload

Microsoft.BusinessData.MetadataModel Namespace