Share via


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