InvalidMetadataObjectException Constructor (IMetadataObject, String, IExceptionHelper)
Constructs a new instance of the class by using a metadata object, a field name, and an exception helper.
Namespace: Microsoft.BusinessData.MetadataModel
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
Syntax
'Declaration
Public Sub New ( _
metadataObject As IMetadataObject, _
fieldName As String, _
exh As IExceptionHelper _
)
'Usage
Dim metadataObject As IMetadataObject
Dim fieldName As String
Dim exh As IExceptionHelper
Dim instance As New InvalidMetadataObjectException(metadataObject, _
fieldName, exh)
public InvalidMetadataObjectException(
IMetadataObject metadataObject,
string fieldName,
IExceptionHelper exh
)
Parameters
metadataObject
Type: Microsoft.BusinessData.MetadataModel.IMetadataObjectThe metadata object that is not valid.
fieldName
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