InvalidMetadataPropertyException constructor (String, Exception, String, String, Type)
Constructs a new instance of the class with a message, an inner exception, 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, _
inner As Exception, _
invalidPropertyName As String, _
metadataObjectName As String, _
metadataObjectType As Type _
)
'Usage
Dim message As String
Dim inner As Exception
Dim invalidPropertyName As String
Dim metadataObjectName As String
Dim metadataObjectType As Type
Dim instance As New InvalidMetadataPropertyException(message, _
inner, invalidPropertyName, metadataObjectName, _
metadataObjectType)
public InvalidMetadataPropertyException(
string message,
Exception inner,
string invalidPropertyName,
string metadataObjectName,
Type metadataObjectType
)
Parameters
message
Type: System.StringThe message string.
inner
Type: System.ExceptionThe inner exception that caused this exception.
invalidPropertyName
Type: System.StringThe property name that is not valid.
metadataObjectName
Type: System.StringThe metadata object name.
metadataObjectType
Type: System.TypeThe metadata object type.
See also
Reference
InvalidMetadataPropertyException class
InvalidMetadataPropertyException members