DuplicateEntryException Class
Represents an exception that is thrown when a user attempts to define a duplicate property or duplicate domain controller name in the user profile database.
Inheritance Hierarchy
System.Object
System.Exception
Microsoft.Office.Server.UserProfiles.UserProfileException
Microsoft.Office.Server.UserProfiles.DuplicateEntryException
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Class DuplicateEntryException _
Inherits UserProfileException
'Usage
Dim instance As DuplicateEntryException
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public class DuplicateEntryException : UserProfileException
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.