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 formatstr As String
Dim args As Object()

Me.DisplayErrorMessage(formatstr, args)

Syntax

Visual Basic
Protected Sub DisplayErrorMessage ( _
		formatstr As String, _
		args As Object() _
)
C#
protected void DisplayErrorMessage (
		string formatstr,
		Object[] args
)
C++
protected:
void DisplayErrorMessage (
		String^ formatstr, 
		array<Object^>^ args
)
J#
protected void DisplayErrorMessage (
		String formatstr, 
		Object[] args
)
JScript
protected function DisplayErrorMessage (
		formatstr : String, 
		args : Object[]
)

Parameters

formatstr

The formatted string to display.

args

The arguments to include in the formatted string.

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