次の方法で共有


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)

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