UserNameFormatException Class

The UserNameFormatException class represents an exception that is thrown when the format of the user name is incorrect.

Microsoft.SharePoint.Portal.UserProfiles.UserProfileException

Microsoft.SharePoint.Portal.UserProfiles.UserNameFormatException

Public Constructors

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

Name Description
UserNameFormatException Initializes an instance of the UserNameFormatException class.

Requirements

Namespace: Microsoft.SharePoint.Portal.UserProfiles

Platforms: Microsoft Windows Server 2003

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

Security: Code Access Security