Partilhar via


ErrorMsg.Show Method (String)

Shows a dialog box with a specified message but using a canned caption.

Namespace: Microsoft.Uii.Common.Logging
Assembly: Microsoft.Uii.Common.Logging.Providers (in Microsoft.Uii.Common.Logging.Providers.dll)

Usage

'Usage
Dim msg As String
Dim returnValue As DialogResult

returnValue = ErrorMsg.Show(msg)

Syntax

'Declaration
Public Shared Function Show ( _
    msg As String _
) As DialogResult
public static DialogResult Show (
    string msg
)
public:
static DialogResult Show (
    String^ msg
)
public static DialogResult Show (
    String msg
)
public static function Show (
    msg : String
) : DialogResult

Parameters

  • msg
    Specifies the message to display

Return Value

Dialog Result

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

See Also

Reference

ErrorMsg Class
ErrorMsg Members
Microsoft.Uii.Common.Logging Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.