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
message
Type: System.StringThe message describing the error.
innerException
Type: System.ExceptionThe inner exception that caused this exception.
See also
Reference
SPDuplicateValuesFoundException class
SPDuplicateValuesFoundException members