PrivacyItemException class

Represents an exception that is thrown when a user attempts to instantiate a PrivacyItem class, and the creation fails.

Inheritance hierarchy

System.Object
  System.Exception
    Microsoft.Office.Server.UserProfiles.PrivacyItemException
      Microsoft.Office.Server.UserProfiles.PrivacyItemDataException
      Microsoft.Office.Server.UserProfiles.PrivacyItemExistsException
      Microsoft.Office.Server.UserProfiles.PrivacyItemFieldNotEditableException
      Microsoft.Office.Server.UserProfiles.PrivacyItemFieldRequiredException
      Microsoft.Office.Server.UserProfiles.PrivacyItemInvalidValueException
      Microsoft.Office.Server.UserProfiles.PrivacyItemLimitReachedException
      Microsoft.Office.Server.UserProfiles.PrivacyItemNotFoundException

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 PrivacyItemException _
    Inherits Exception
'Usage
Dim instance As PrivacyItemException
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class PrivacyItemException : Exception

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

PrivacyItemException members

Microsoft.Office.Server.UserProfiles namespace