InvalidMetadataObjectException Constructor (String, IMetadataObject, String, IExceptionHelper)
Constructs a new instance of the class by using a message, 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 ( _
message As String, _
metadataObject As IMetadataObject, _
fieldName As String, _
exh As IExceptionHelper _
)
'Usage
Dim message As String
Dim metadataObject As IMetadataObject
Dim fieldName As String
Dim exh As IExceptionHelper
Dim instance As New InvalidMetadataObjectException(message, _
metadataObject, fieldName, exh)
public InvalidMetadataObjectException(
string message,
IMetadataObject metadataObject,
string fieldName,
IExceptionHelper exh
)
Parameters
message
Type: System.StringThe message string.
metadataObject
Type: Microsoft.BusinessData.MetadataModel.IMetadataObjectThe metadata object.
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