WebPartPageUserException Class
The 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.
System.Object
System.Attribute
System.Exception
System.ApplicationException
Microsoft.SharePoint.WebPartPages.WebPartPageUserException
Public Constructors
The following table shows the constructors of the WebPartPageUserException class and a brief description of each.
| Name | Description |
|---|---|
| WebPartPageUserException() | Initializes a new instance of the WebPartPageUserException class. |
| WebPartPageUserException(String) | Initializes a new instance of the WebPartPageUserException class with a specified error message. |
| WebPartPageUserException(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext) | Initializes a new instance of the WebPartPageUserException class with serialized data. |
| WebPartPageUserException(String, System.Exception) | Initializes a new instance of the WebPartPageUserException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
Requirements
Namespace: Microsoft.SharePoint.WebPartPages
Platforms: Microsoft Windows Server 2003
Assembly: Windows SharePoint Services (in Microsoft.SharePoint.dll)
Security: Code Access Security