Displays an error message with a caption that is independent of the host page that this page is hosted in. Namespace: Microsoft.EnterpriseManagement.UI
Assembly: Microsoft.EnterpriseManagement.UI.Extensibility (in microsoft.enterprisemanagement.ui.extensibility.dll)

Usage

Visual Basic
Dim errorMessage As String

Me.DisplayErrorMessage(errorMessage)

Syntax

Visual Basic
Protected Sub DisplayErrorMessage ( _
		errorMessage As String _
)
C#
protected void DisplayErrorMessage (
		string errorMessage
)
C++
protected:
void DisplayErrorMessage (
		String^ errorMessage
)
J#
protected void DisplayErrorMessage (
		String errorMessage
)
JScript
protected function DisplayErrorMessage (
		errorMessage : String
)

Parameters

errorMessage

The error message to display.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also