Share via


UserProfileException class

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

Inheritance hierarchy

System.Object
  System.Exception
    Microsoft.Office.Server.UserProfiles.UserProfileException
      

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

Syntax

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

Remarks

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

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

UserProfileException members

Microsoft.Office.Server.UserProfiles namespace

Inheritance hierarchy

System.Object
  System.Exception
    Microsoft.Office.Server.UserProfiles.UserProfileException
      Microsoft.Office.Server.UserProfiles.AccountNotValidatedException
      Microsoft.Office.Server.UserProfiles.ChangeTokenTooEarlyException
      Microsoft.Office.Server.UserProfiles.CommitFailedException
      Microsoft.Office.Server.UserProfiles.CommitPartialException
      Microsoft.Office.Server.UserProfiles.DLImportInProgressException
      Microsoft.Office.Server.UserProfiles.DuplicateEntryException
      Microsoft.Office.Server.UserProfiles.ImportInProgressException
      Microsoft.Office.Server.UserProfiles.InvalidDataTypeException
      Microsoft.Office.Server.UserProfiles.InvalidUpdateOperationException
      Microsoft.Office.Server.UserProfiles.InvalidValueException
      Microsoft.Office.Server.UserProfiles.NoDBEntryException
      Microsoft.Office.Server.UserProfiles.NoErrorFeedBackException
      Microsoft.Office.Server.UserProfiles.NoJobServerException
      Microsoft.Office.Server.UserProfiles.NoPortalContextException
      Microsoft.Office.Server.UserProfiles.NoWebContextException
      Microsoft.Office.Server.UserProfiles.OrganizationNotFoundException
      Microsoft.Office.Server.UserProfiles.PersonalSiteCreateException
      Microsoft.Office.Server.UserProfiles.PersonalSiteExistsException
      Microsoft.Office.Server.UserProfiles.PersonalSiteNamingConflictException
      Microsoft.Office.Server.UserProfiles.PersonalSitePartialCreateException
      Microsoft.Office.Server.UserProfiles.PropertyInUseException
      Microsoft.Office.Server.UserProfiles.PropertyInvalidFormatException
      Microsoft.Office.Server.UserProfiles.PropertyInvalidValueException
      Microsoft.Office.Server.UserProfiles.PropertyIsPrivateException
      Microsoft.Office.Server.UserProfiles.PropertyIsSectionException
      Microsoft.Office.Server.UserProfiles.PropertyMappingNotDefinedException
      Microsoft.Office.Server.UserProfiles.PropertyNotDefinedException
      Microsoft.Office.Server.UserProfiles.PropertyNotEditableException
      Microsoft.Office.Server.UserProfiles.RemoveUserFailedException
      Microsoft.Office.Server.UserProfiles.TooManySearchTermException
      Microsoft.Office.Server.UserProfiles.UpdateReadOnlyDatabaseException
      Microsoft.Office.Server.UserProfiles.UpdateReadOnlyFieldException
      Microsoft.Office.Server.UserProfiles.UpdateSystemFieldException
      Microsoft.Office.Server.UserProfiles.UserCreationIgnoredException
      Microsoft.Office.Server.UserProfiles.UserExistsException
      Microsoft.Office.Server.UserProfiles.UserNameFormatException
      Microsoft.Office.Server.UserProfiles.UserNotFoundException
      Microsoft.Office.Server.UserProfiles.UserProfileApplicationNotAvailableException
      Microsoft.Office.Server.UserProfiles.UserSidException