Compartir a través de


Console.ShowDialog Method (MessageBoxParameters)

 

Shows a message box modal the MMC console window using the parameters specified.

Namespace:   Microsoft.ManagementConsole.Advanced
Assembly:  Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)

Syntax

public DialogResult ShowDialog(
    MessageBoxParameters parameters
)
public:
DialogResult ShowDialog(
    MessageBoxParameters^ parameters
)
member ShowDialog : 
        parameters:MessageBoxParameters -> DialogResult
Public Function ShowDialog (
    parameters As MessageBoxParameters
) As DialogResult

Parameters

Return Value

Type: System.Windows.Forms.DialogResult

System.Windows.Forms.DialogResult.OK if the user clicks OK in the dialog box; otherwise, System.Windows.Forms.DialogResult.Cancel.

See Also

ShowDialog Overload
Console Class
Microsoft.ManagementConsole.Advanced Namespace
DialogResult

Return to top