Partilhar via


UIPage.DisplayErrorMessage Method (String, Object[])

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

Me.DisplayErrorMessage(formatstr, args)

Syntax

'Declaration
Protected Sub DisplayErrorMessage ( _
    formatstr As String, _
    args As Object() _
)
protected void DisplayErrorMessage (
    string formatstr,
    Object[] args
)
protected:
void DisplayErrorMessage (
    String^ formatstr, 
    array<Object^>^ args
)
protected void DisplayErrorMessage (
    String formatstr, 
    Object[] args
)
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

Reference

UIPage Class
UIPage Members
Microsoft.EnterpriseManagement.UI Namespace

Send comments about this topic to Microsoft.