IConsole2.MessageBox Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Namespace:  Microsoft.CLRAdmin
Assembly:  mscorcfg (in mscorcfg.dll)

Syntax

'Declaration
Sub MessageBox ( _
    lpszText As String, _
    lpszTitle As String, _
    fuStyle As UInteger, _
    ByRef piRetval As Integer _
)
'Usage
Dim instance As IConsole2 
Dim lpszText As String 
Dim lpszTitle As String 
Dim fuStyle As UInteger 
Dim piRetval As Integer

instance.MessageBox(lpszText, lpszTitle, _
    fuStyle, piRetval)
void MessageBox(
    string lpszText,
    string lpszTitle,
    uint fuStyle,
    ref int piRetval
)
void MessageBox(
    String^ lpszText, 
    String^ lpszTitle, 
    unsigned int fuStyle, 
    int% piRetval
)
function MessageBox(
    lpszText : String, 
    lpszTitle : String, 
    fuStyle : uint, 
    piRetval : int
)

Parameters

.NET Framework Security

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 1.1, 1.0

See Also

Reference

IConsole2 Interface

IConsole2 Members

Microsoft.CLRAdmin Namespace