Compartir a través de


Clase PrivacyItemException

Representa una excepción que se produce cuando un usuario intenta crear una instancia de una clase PrivacyItem y se produce un error en la creación.

Jerarquía de la herencia

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

Espacio de nombres:  Microsoft.Office.Server.UserProfiles
Ensamblado:  Microsoft.Office.Server.UserProfiles (en Microsoft.Office.Server.UserProfiles.dll)

Sintaxis

'Declaración
<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

Seguridad para subprocesos

Los miembros static (Shared en Visual Basic) públicos de este tipo son seguros para subprocesos. No se garantiza que los miembros de instancias sean seguros para los subprocesos.

Vea también

Referencia

Miembros PrivacyItemException

Espacio de nombres Microsoft.Office.Server.UserProfiles