NoWebContextException Class

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



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.


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


Namespace: Microsoft.SharePoint.Portal.UserProfiles

Platforms: Microsoft Windows Server 2003

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

Security: Code Access Security