ConsoleError Constructor (String, ConsoleNode)
Returns an instance of the ConsoleError class with a text message set to a specified value; includes suggested actions for the user to perform.
Namespace: Microsoft.SharePoint.Publishing.WebControls
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
actions As ConsoleNode _
)
'Usage
Dim message As String
Dim actions As ConsoleNode
Dim instance As New ConsoleError(message, _
actions)
public ConsoleError(
string message,
ConsoleNode actions
)
Parameters
- message
Type: System.String
String that represents the text message to be conveyed to the user.
- actions
Type: Microsoft.SharePoint.Publishing.WebControls.ConsoleNode
ConsoleNode for which each child ConsoleNode represents an action to be suggested to the user in context of the error.