WebPartError class

An error message control to use inside of a web part.

Inheritance hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      Microsoft.SharePoint.WebControls.WebPartError

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

Syntax

'Declaration
Public Class WebPartError _
    Inherits WebControl
'Usage
Dim instance As WebPartError
public class WebPartError : WebControl

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

WebPartError members

Microsoft.SharePoint.WebControls namespace