Share via


ConsoleError Constructor (String)

Returns an instance of the ConsoleError class with a text message set to a specified value.

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

Syntax

'Declaration
Public Sub New ( _
    message As String _
)
'Usage
Dim message As String

Dim instance As New ConsoleError(message)
public ConsoleError(
    string message
)

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