Share via


MetadataObjectNotFoundException Constructor (Type, String)

NOTE: This API is now obsolete.

Namespace:  Microsoft.Office.Server.ApplicationRegistry.MetadataModel
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",  _
    False)> _
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)
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", 
    false)]
public MetadataObjectNotFoundException(
    Type metadataObjectType,
    string searchCriteria
)

Parameters

See Also

Reference

MetadataObjectNotFoundException Class

MetadataObjectNotFoundException Members

MetadataObjectNotFoundException Overload

Microsoft.Office.Server.ApplicationRegistry.MetadataModel Namespace