Compartilhar via


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