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