Share via


ConsoleErrorDisplay.CurrentError property

Gets the current error generated by authoring or editing operations.

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

Syntax

'Declaration
Public Shared ReadOnly Property CurrentError As ConsoleError
    Get
'Usage
Dim value As ConsoleError

value = ConsoleErrorDisplay.CurrentError
public static ConsoleError CurrentError { get; }

Property value

Type: Microsoft.SharePoint.Publishing.WebControls.ConsoleError
A ConsoleError instance that represents the current error.

See also

Reference

ConsoleErrorDisplay class

ConsoleErrorDisplay members

Microsoft.SharePoint.Publishing.WebControls namespace