InvalidMetadataObjectException Constructor (UInt32, String, String, Type)
Initializes a new instance of the class with the specified metadata object ID, the metadata object name, the field name, and the metadata object type.
Namespace: Microsoft.SharePoint.BusinessData.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub New ( _
invalidMetadataObjectId As UInteger, _
invalidMetadataObjectName As String, _
invalidFieldName As String, _
metadataObjectType As Type _
)
'Usage
Dim invalidMetadataObjectId As UInteger
Dim invalidMetadataObjectName As String
Dim invalidFieldName As String
Dim metadataObjectType As Type
Dim instance As New InvalidMetadataObjectException(invalidMetadataObjectId, _
invalidMetadataObjectName, invalidFieldName, _
metadataObjectType)
public InvalidMetadataObjectException(
uint invalidMetadataObjectId,
string invalidMetadataObjectName,
string invalidFieldName,
Type metadataObjectType
)
Parameters
invalidMetadataObjectId
Type: System.UInt32The MetadataObjectId of the invalid metadata object.
invalidMetadataObjectName
Type: System.StringThe metadata object name of the invalid metadata object.
invalidFieldName
Type: System.StringThe field name on the metadata object containing the value that is not valid.
metadataObjectType
Type: System.TypeThe metadata object type of the invalid metadata object.
See Also
Reference
InvalidMetadataObjectException Class
InvalidMetadataObjectException Members