Share via


PropertyInUseException Class

The PropertyInUseException class represents an exception that is thrown when a user attempts to remove a property when the property is used in an audience.

Microsoft.SharePoint.Portal.UserProfiles.UserProfileException

   Microsoft.SharePoint.Portal.UserProfiles.PropertyInUseException

Public Constructors

The following table shows the constructors of the PropertyInUseException class and a brief description of each.

Name Description
PropertyInUseException(String) Initializes a new instance of the PropertyInUseException class.
PropertyInUseException(String, String) Initializes a new instance of the PropertyInUseException class.
PropertyInUseException(String, System.Exception) Initializes a new instance of the PropertyInUseException class.

Public Properties

The following table shows the properties of the PropertyInUseException class, the data type of each property, and a brief description of each.

Name Data Type Description
ExtraInfo String Gets extra information concerning the error.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread safe.

Requirements

Namespace: Microsoft.SharePoint.Portal.UserProfiles

Platforms: Microsoft Windows Server 2003

Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Security: Code Access Security