Share via


DuplicateMetadataObjectException constructor (String, Exception)

Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of 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 DuplicateMetadataObjectException(message, _
    inner)
public DuplicateMetadataObjectException(
    string message,
    Exception inner
)

Parameters

  • message
    Type: System.String

    The message string that describes the error.

  • inner
    Type: System.Exception

    The exception that is the cause of the current exception.

See also

Reference

DuplicateMetadataObjectException class

DuplicateMetadataObjectException members

DuplicateMetadataObjectException overload

Microsoft.SharePoint.BusinessData.Administration namespace