Microsoft.SharePoint.WebPar ...


WebPartPageUserException Class (Microsoft.SharePoint.WebPartPages)
Extends the System.ApplicationException class. This class is used by the Web Part infrastructure and Web Part developers to throw and identify exceptions that will be rendered as error messages to users.

Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Syntax

Visual Basic (Declaration)
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel:=True)> _
Public Class WebPartPageUserException
    Inherits ApplicationException
Visual Basic (Usage)
Dim instance As WebPartPageUserException
C#
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel=true)] 
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel=true)] 
public class WebPartPageUserException : ApplicationException
Inheritance Hierarchy

System.Object
   System.Exception
     System.ApplicationException
      Microsoft.SharePoint.WebPartPages.WebPartPageUserException
Thread Safety

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

Tags :


Page view tracker