Share via


PrivacyPolicyException Class

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

Inheritance Hierarchy

System.Object
  System.Exception
    System.ApplicationException
      Microsoft.Office.Server.UserProfiles.PrivacyPolicyException
        Microsoft.Office.Server.UserProfiles.PrivacyPolicyNotFoundException

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Class PrivacyPolicyException _
    Inherits ApplicationException
'Usage
Dim instance As PrivacyPolicyException
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public class PrivacyPolicyException : ApplicationException

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

PrivacyPolicyException Members

Microsoft.Office.Server.UserProfiles Namespace