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.TypeThe type of metadata object involved in the error.
searchCriteria
Type: System.StringThe search criteria.
See Also
Reference
MetadataObjectNotFoundException Class
MetadataObjectNotFoundException Members