SPDuplicateObjectException constructor (String)
Initializes a new instance of the SPDuplicateObjectException class based on the specified error string.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub New ( _
error As String _
)
'Usage
Dim error As String
Dim instance As New SPDuplicateObjectException(error)
public SPDuplicateObjectException(
string error
)
Parameters
error
Type: System.StringA string containing the message that explains the reason for the exception.
See also
Reference
SPDuplicateObjectException class
SPDuplicateObjectException members