InvalidMetadataObjectException Constructor (String, Exception, IMetadataObject, String, IExceptionHelper)
Constructs a new instance of the class by using a message, the inner exception, the metadata object that is not valid, the field name that is not valid, 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, _
invalidMetadataObject As IMetadataObject, _
invalidFieldName As String, _
exh As IExceptionHelper _
)
'Usage
Dim message As String
Dim inner As Exception
Dim invalidMetadataObject As IMetadataObject
Dim invalidFieldName As String
Dim exh As IExceptionHelper
Dim instance As New InvalidMetadataObjectException(message, _
inner, invalidMetadataObject, invalidFieldName, _
exh)
public InvalidMetadataObjectException(
string message,
Exception inner,
IMetadataObject invalidMetadataObject,
string invalidFieldName,
IExceptionHelper exh
)
Parameters
message
Type: System.StringThe message string.
inner
Type: System.ExceptionThe inner exception that caused this exception.
invalidMetadataObject
Type: Microsoft.BusinessData.MetadataModel.IMetadataObjectThe metadata object that is not valid.
invalidFieldName
Type: System.StringThe field name that is not valid.
exh
Type: Microsoft.BusinessData.Infrastructure.IExceptionHelperThe exception helper that assists in localization.
See Also
Reference
InvalidMetadataObjectException Class
InvalidMetadataObjectException Members