Compartir a través de


UIPage.DisplayErrorMessage Method (String)

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

'Usage
Dim errorMessage As String

Me.DisplayErrorMessage(errorMessage)

Syntax

'Declaration
Protected Sub DisplayErrorMessage ( _
    errorMessage As String _
)
protected void DisplayErrorMessage (
    string errorMessage
)
protected:
void DisplayErrorMessage (
    String^ errorMessage
)
protected void DisplayErrorMessage (
    String errorMessage
)
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

Reference

UIPage Class
UIPage Members
Microsoft.EnterpriseManagement.UI Namespace

Send comments about this topic to Microsoft.