Share via


InvalidMetadataPropertyException constructor (String, String, String, Type)

Constructs a new instance of the class with a message, a property name that is not valid, a metadata object name, and a metadata object type.

Namespace:  Microsoft.SharePoint.BusinessData.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

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

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

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.SharePoint.BusinessData.Administration namespace