MetadataObjectNotFoundException constructor (Type, String)

Initializes a new instance of the class with the metadata object Microsoft .NET Framework type and search criteria.

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

Syntax

'Declaration
Public Sub New ( _
    metadataObjectType As Type, _
    searchCriteria As String _
)
'Usage
Dim metadataObjectType As Type
Dim searchCriteria As String

Dim instance As New MetadataObjectNotFoundException(metadataObjectType, _
    searchCriteria)
public MetadataObjectNotFoundException(
    Type metadataObjectType,
    string searchCriteria
)

Parameters

  • metadataObjectType
    Type: System.Type

    The type of metadata object involved in the error.

See also

Reference

MetadataObjectNotFoundException class

MetadataObjectNotFoundException members

MetadataObjectNotFoundException overload

Microsoft.SharePoint.BusinessData.Administration namespace