UserProfileException Class

The UserProfileException class represents an exception that is thrown when a user attempts to instantiate a UserProfile object but the creation fails.

System.ApplicationException

Microsoft.SharePoint.Portal.UserProfiles.UserProfileException

Public Constructors

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

Name Description
UserProfileException Initializes an instance of the UserProfileException class.
UserProfileException(String) Initializes an instance of the UserProfileException class.
UserProfileException(String, System.Exception) Initializes an instance of the UserProfileException class.

Remarks

This is the general exception from which all of the user profile-related exceptions are derived.

Requirements

Namespace: Microsoft.SharePoint.Portal.UserProfiles

Platforms: Microsoft Windows Server 2003

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

Security: Code Access Security