Share via


PageLevelError Class

The PageLevelError class defines the error for the page.

System.Web.UI.Control

   Microsoft.SharePoint.Portal.WebControls.PageLevelError

Public Constructors

The following table shows the constructors of the PageLevelError class and a brief description of each.

Name Description
PageLevelError Initializes a new instance of the PageLevelError class.

Public Methods

The following table shows the public methods of the PageLevelError class and a brief description of each.

Name Description
Init Inherits from System.Web.UI.Controls.

Protected Methods

The following table shows the protected methods of the PageLevelError class and a brief description of each.

Name Description
Render(System.Web.UI.HtmlTextWriter) Inherits from System.Web.UI.Controls.

Public Properties

The following table shows the properties of the PageLevelError class, the data type of each property, and a brief description of each.

Name Data type Description
EncodedErrorText String Gets or sets the encoded text that is sent to the web browser for display. The caller must provide all encoding for the text and ensure that the text contains no script. SharePoint Portal Server provides formatting around the text.
ErrorText String Gets or sets the text that is sent to the web browser for display. SharePoint Portal Server provides formatting and encoding for the text, and guards against script injection.
ErrorTextLocId Microsoft.SharePoint.Portal.WebControls.LocStringId Reserved for internal use only.
ErrorTextLocIdNum Int32 Reserved for internal use only.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread safe.

Requirements

Namespace: Microsoft.SharePoint.Portal.WebControls

Platforms: Microsoft Windows Server 2003

Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Security: Code Access Security