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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<SerializableAttribute> _
Public Class WebPartPageUserException _
    Inherits ApplicationException
'Usage
Dim instance As WebPartPageUserException
[SerializableAttribute]
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