次の方法で共有


ErrorMsg.Show Method

Definition

Overloads

Show(String)

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

Show(String, String)

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

Show(String, String, String)

Shows a dialog box with a specified message, caption and extra information.

Show(String)

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

public:
 static System::Windows::Forms::DialogResult Show(System::String ^ msg);
public static System.Windows.Forms.DialogResult Show (string msg);
static member Show : string -> System.Windows.Forms.DialogResult
Public Shared Function Show (msg As String) As DialogResult

Parameters

msg
String

Specifies the message to display

Returns

Dialog Result

Applies to

Show(String, String)

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

public:
 static System::Windows::Forms::DialogResult Show(System::String ^ msg, System::String ^ advanced);
public static System.Windows.Forms.DialogResult Show (string msg, string advanced);
static member Show : string * string -> System.Windows.Forms.DialogResult
Public Shared Function Show (msg As String, advanced As String) As DialogResult

Parameters

msg
String

Specifies the message to display

advanced
String

Specifies the message to be displayed in the advanced error text box

Returns

Dialog Result

Applies to

Show(String, String, String)

Shows a dialog box with a specified message, caption and extra information.

public:
 static System::Windows::Forms::DialogResult Show(System::String ^ msg, System::String ^ caption, System::String ^ advanced);
public static System.Windows.Forms.DialogResult Show (string msg, string caption, string advanced);
static member Show : string * string * string -> System.Windows.Forms.DialogResult
Public Shared Function Show (msg As String, caption As String, advanced As String) As DialogResult

Parameters

msg
String

Specifies the message

caption
String

Specifies the caption

advanced
String

Specifies the message to be displayed in the advanced test box

Returns

Dialog Result

Applies to