NoPortalContextException Class

The NoPortalContextException class represents an exception that is thrown when no portal context exists.

Microsoft.SharePoint.Portal.UserProfiles.UserProfileException

   Microsoft.SharePoint.Portal.UserProfiles.NoPortalContextException

Public Constructors

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

Name Description
NoPortalContextException Initializes a new instance of the NoPortalContextException class.
NoPortalContextException(String) Initializes a new instance of the NoPortalContextException class.

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