ConsoleErrorDisplay class

Represents the control that is used to display details of an error that has occurred during authoring or editing operations.

Inheritance hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      Microsoft.SharePoint.Publishing.WebControls.ConsoleErrorDisplay

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

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class ConsoleErrorDisplay _
    Inherits WebControl _
    Implements IPostBackEventHandler
'Usage
Dim instance As ConsoleErrorDisplay
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class ConsoleErrorDisplay : WebControl, 
    IPostBackEventHandler

Remarks

Placing this control on the page provides a location for error messages and appropriate recommended actions to appear.

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

ConsoleErrorDisplay members

Microsoft.SharePoint.Publishing.WebControls namespace