Compartilhar via


PrivacyItemException class

Representa uma exceção que é lançada quando um usuário tentar criar uma instância de uma classe PrivacyItem e a criação falha.

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

'Declaração
<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class PrivacyItemException _
    Inherits Exception
'Uso
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.

Ver também

Referência

PrivacyItemException members

Microsoft.Office.Server.UserProfiles namespace