MetadataException Constructor (Type, IExceptionHelper)
Initializes a new instance of the class with the metadata object type and an exception helper.
Namespace: Microsoft.BusinessData.MetadataModel
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
Syntax
'Declaration
Public Sub New ( _
metadataObjectType As Type, _
exh As IExceptionHelper _
)
'Usage
Dim metadataObjectType As Type
Dim exh As IExceptionHelper
Dim instance As New MetadataException(metadataObjectType, _
exh)
public MetadataException(
Type metadataObjectType,
IExceptionHelper exh
)
Parameters
metadataObjectType
Type: System.TypeThe metadata object type.
exh
Type: Microsoft.BusinessData.Infrastructure.IExceptionHelperThe exception helper that assists in localization.