Condividi tramite


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

  • fieldName
    Type: System.String

    The field name that is not valid.

See Also

Reference

InvalidMetadataObjectException Class

InvalidMetadataObjectException Members

InvalidMetadataObjectException Overload

Microsoft.BusinessData.MetadataModel Namespace