ConsoleError class

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


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

[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class ConsoleError

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).

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.