Share via


PrivacyItemExistsException Class

Represents an exception that is thrown when an attempt to create a privacy item fails because that particular privacy item entry already exists.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.Office.Server.UserProfiles.PrivacyItemException
      Microsoft.Office.Server.UserProfiles.PrivacyItemExistsException

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

Syntax

'Declaration
<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class PrivacyItemExistsException _
    Inherits PrivacyItemException
'Usage
Dim instance As PrivacyItemExistsException
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class PrivacyItemExistsException : PrivacyItemException

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

PrivacyItemExistsException Members

Microsoft.Office.Server.UserProfiles Namespace