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