Share via


DuplicateEntryException Class

NOTE: This API is now obsolete.

Use classes in the Microsoft.Office.Server.UserProfiles namespace instead.

Inheritance Hierarchy

System.Object
  System.Exception
    System.ApplicationException
      Microsoft.SharePoint.Portal.UserProfiles.UserProfileException
        Microsoft.SharePoint.Portal.UserProfiles.DuplicateEntryException

Namespace:  Microsoft.SharePoint.Portal.UserProfiles
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<ObsoleteAttribute("Use classes under the namespace "Microsoft.Office.Server.UserProfiles" instead.")> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class DuplicateEntryException _
    Inherits UserProfileException
'Usage
Dim instance As DuplicateEntryException
[ObsoleteAttribute("Use classes under the namespace "Microsoft.Office.Server.UserProfiles" instead.")]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, 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.

See Also

Reference

DuplicateEntryException Members

Microsoft.SharePoint.Portal.UserProfiles Namespace