Condividi tramite


SPDuplicateValuesFoundException Constructor (String, Exception)

Initializes a new instance of the [Microsoft.SharePoint.SPDuplicateValuesFoundException] exception class using the specified error message and inner exception that is the cause of the current exception.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

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

Dim instance As New SPDuplicateValuesFoundException(message, _
    innerException)
public SPDuplicateValuesFoundException(
    string message,
    Exception innerException
)

Parameters

  • innerException
    Type: System.Exception

    The inner exception that caused this exception.

See Also

Reference

SPDuplicateValuesFoundException Class

SPDuplicateValuesFoundException Members

SPDuplicateValuesFoundException Overload

Microsoft.SharePoint Namespace