다음을 통해 공유


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.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