Share via


DuplicateEntryException Constructor (String, Exception)

Initializes a new instance of the DuplicateEntryExceptionclass.

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Public Sub New ( _
    msg As String, _
    e As Exception _
)
'Usage
Dim msg As String
Dim e As Exception

Dim instance As New DuplicateEntryException(msg, e)
public DuplicateEntryException(
    string msg,
    Exception e
)

Parameters

  • msg
    Type: System.String

    An error message that explains the reason for the exception, or an empty string.

See Also

Reference

DuplicateEntryException Class

DuplicateEntryException Members

DuplicateEntryException Overload

Microsoft.Office.Server.UserProfiles Namespace