ConsoleError class

Describes a page error that resulted from authoring or editing operations.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Publishing.WebControls.ConsoleError

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class ConsoleError
'Usage
Dim instance As ConsoleError
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class ConsoleError

Remarks

When an error has occurred during the postback event of a ConsoleAction, the error can be displayed to the user, along with recommended actions. This object contains the text of the error message and the associated ConsoleNode (which contains the list of recommended actions).

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

ConsoleError members

Microsoft.SharePoint.Publishing.WebControls namespace