ConsoleError.Actions Property
Actions that should be displayed as part of this error message.
Namespace: Microsoft.SharePoint.Publishing.WebControls
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public ReadOnly Property Actions As ConsoleNode
Get
'Usage
Dim instance As ConsoleError
Dim value As ConsoleNode
value = instance.Actions
public ConsoleNode Actions { get; }
Property Value
Type: Microsoft.SharePoint.Publishing.WebControls.ConsoleNode
A ConsoleNode that represents the list of actions to suggest to the user.
Remarks
At the end of the error message, a list of suggested actions can be optionally displayed. If, for example, a user tries to check out a page that is checked out by another user, a suggested action might be "Override Checkout." You can specify the suggested actions by creating a root ConsoleNode and adding as child ConsoleNodes each action that you want to display to the user.
This ConsoleNode is the root of a two-level hierarchy, and its ChildConsoleNodes are the actions that will be presented to the user.