ShowError(String,String,String,Action) Method
Displays an error dialog box with the specified message and optionally, a link to launch help.
Syntax
public static System.Windows.Forms.DialogResult ShowError(
System.string message,
System.string title,
System.string helpTopic,
System.Action helpAction
)Public Overloads Shared Function ShowError( _
ByVal message As System.String, _
ByVal title As System.String, _
ByVal helpTopic As System.String, _
ByVal helpAction As System.Action _
) As System.Windows.Forms.DialogResultParameters
| Name | Description |
|---|---|
| message | The error text to display in the dialog box. |
| title | The Caption of the dialog box. |
| helpTopic | Help topic to be displayed as link text |
| helpAction | A delegate that takes care of launching help |