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
message
Type: System.StringThe message string.
inner
Type: System.ExceptionThe inner exception that caused this exception.
metadataObjectType
Type: System.TypeThe metadata object type.
exh
Type: Microsoft.BusinessData.Infrastructure.IExceptionHelperThe exception helper that assists in localization.