Share via


PrivacyItemException - Classe

Représente une exception qui est levée lorsqu'un utilisateur tente d'instancier une classe PrivacyItem , et la création échoue.

Hiérarchie d’héritage

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

Espace de noms :  Microsoft.Office.Server.UserProfiles
Assembly :  Microsoft.Office.Server.UserProfiles (dans Microsoft.Office.Server.UserProfiles.dll)

Syntaxe

'Déclaration
<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class PrivacyItemException _
    Inherits Exception
'Utilisation
Dim instance As PrivacyItemException
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class PrivacyItemException : Exception

Cohérence de thread

Tous les membres statique (Partagé dans Visual Basic)s publics de ce type sont thread-safe. Cela n’est pas garanti pour les membres d’instance.

Voir aussi

Référence

PrivacyItemException - Membres

Microsoft.Office.Server.UserProfiles - Espace de noms