Condividi tramite


WebPartPageUserException Class

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.

Inheritance Hierarchy

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

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Class WebPartPageUserException _
    Inherits ApplicationException

Dim instance As WebPartPageUserException
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class WebPartPageUserException : ApplicationException

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

Reference

WebPartPageUserException Members

Microsoft.SharePoint.WebPartPages Namespace