NoWebContextException Class

The NoWebContextException class represents an exception that is thrown when no Web context exists.

Microsoft.SharePoint.Portal.UserProfiles.UserProfileException

Microsoft.SharePoint.Portal.UserProfiles.NoWebContextException

Public Constructors

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

Name Description
NoWebContextException Initializes a new instance of the NoWebContextException 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.

Remarks

The caller is required to be running on the web site.

Requirements

Namespace: Microsoft.SharePoint.Portal.UserProfiles

Platforms: Microsoft Windows Server 2003

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

Security: Code Access Security