Partilhar via


InvalidMetadataPropertyException Constructor (String, String, Type, IExceptionHelper)

Constructs a new instance of the class by using the property name that is not valid, a metadata object name, a metadata object type, and an exception helper.

Namespace:  Microsoft.BusinessData.MetadataModel
Assembly:  Microsoft.BusinessData (in Microsoft.BusinessData.dll)

Syntax

'Declaration
Public Sub New ( _
    invalidPropertyName As String, _
    metadataObjectName As String, _
    metadataObjectType As Type, _
    exh As IExceptionHelper _
)
'Usage
Dim invalidPropertyName As String
Dim metadataObjectName As String
Dim metadataObjectType As Type
Dim exh As IExceptionHelper

Dim instance As New InvalidMetadataPropertyException(invalidPropertyName, _
    metadataObjectName, metadataObjectType, _
    exh)
public InvalidMetadataPropertyException(
    string invalidPropertyName,
    string metadataObjectName,
    Type metadataObjectType,
    IExceptionHelper exh
)

Parameters

  • invalidPropertyName
    Type: System.String

    The property name that is not valid.

  • metadataObjectName
    Type: System.String

    The metadata object name.

  • metadataObjectType
    Type: System.Type

    The metadata object type.

See Also

Reference

InvalidMetadataPropertyException Class

InvalidMetadataPropertyException Members

InvalidMetadataPropertyException Overload

Microsoft.BusinessData.MetadataModel Namespace