共用方式為


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