Share via


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.

See Also

Reference

ConsoleError Class

ConsoleError Members

ConsoleError Overload

Microsoft.SharePoint.Publishing.WebControls Namespace