Share via


MessageBoxHelpers.ShowError Method

Definition

Overloads

ShowError(IWin32Window, String)
ShowError(IServiceProvider, IWin32Window, String)
ShowError(IWin32Window, String, String)

ShowError(IWin32Window, String)

public:
 static void ShowError(System::Windows::Forms::IWin32Window ^ owner, System::String ^ message);
public static void ShowError (System.Windows.Forms.IWin32Window owner, string message);
static member ShowError : System.Windows.Forms.IWin32Window * string -> unit
Public Shared Sub ShowError (owner As IWin32Window, message As String)

Parameters

owner
IWin32Window
message
String

Applies to

ShowError(IServiceProvider, IWin32Window, String)

public:
 static void ShowError(IServiceProvider ^ sp, System::Windows::Forms::IWin32Window ^ owner, System::String ^ message);
public static void ShowError (IServiceProvider sp, System.Windows.Forms.IWin32Window owner, string message);
static member ShowError : IServiceProvider * System.Windows.Forms.IWin32Window * string -> unit
Public Shared Sub ShowError (sp As IServiceProvider, owner As IWin32Window, message As String)

Parameters

owner
IWin32Window
message
String

Applies to

ShowError(IWin32Window, String, String)

public:
 static void ShowError(System::Windows::Forms::IWin32Window ^ owner, System::String ^ message, System::String ^ title);
public static void ShowError (System.Windows.Forms.IWin32Window owner, string message, string title);
static member ShowError : System.Windows.Forms.IWin32Window * string * string -> unit
Public Shared Sub ShowError (owner As IWin32Window, message As String, title As String)

Parameters

owner
IWin32Window
message
String
title
String

Applies to