Compartilhar via


MetadataObjectNotFoundException Constructor (String, Type, String)

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

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

Syntax

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

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

Parameters

  • message
    Type: System.String

    The message that describes the error.

  • 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