Export (0) Print
Expand All

NoWebContextException class

Represents an exception that is thrown when no Web context exists.

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

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

[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class NoWebContextException : UserProfileException

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft