MetadataObjectNotFoundException constructor (String, Exception)

Initializes a new instance of the class with a specified error message and a reference to the inner exception that caused this exception.

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

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    inner As Exception _
)
'Usage
Dim message As String
Dim inner As Exception

Dim instance As New MetadataObjectNotFoundException(message, _
    inner)
public MetadataObjectNotFoundException(
    string message,
    Exception inner
)

Parameters

  • message
    Type: System.String

    The message that describes the error.

  • inner
    Type: System.Exception

    The exception that is the cause of the current exception.

See also

Reference

MetadataObjectNotFoundException class

MetadataObjectNotFoundException members

MetadataObjectNotFoundException overload

Microsoft.SharePoint.BusinessData.Administration namespace