SqlWorkbenchHierarchy.StaticShowMessage Method

Definition

Overloads

StaticShowMessage(String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, IWin32Window)

public:
 static System::Windows::Forms::DialogResult StaticShowMessage(System::String ^ message, System::String ^ caption, System::Windows::Forms::MessageBoxButtons buttons, System::Windows::Forms::MessageBoxIcon icon, System::Windows::Forms::MessageBoxDefaultButton defButton, System::Windows::Forms::IWin32Window ^ owner);
public static System.Windows.Forms.DialogResult StaticShowMessage(string message, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Windows.Forms.MessageBoxDefaultButton defButton, System.Windows.Forms.IWin32Window owner);
static member StaticShowMessage : string * string * System.Windows.Forms.MessageBoxButtons * System.Windows.Forms.MessageBoxIcon * System.Windows.Forms.MessageBoxDefaultButton * System.Windows.Forms.IWin32Window -> System.Windows.Forms.DialogResult
Public Shared Function StaticShowMessage (message As String, caption As String, buttons As MessageBoxButtons, icon As MessageBoxIcon, defButton As MessageBoxDefaultButton, owner As IWin32Window) As DialogResult

Parameters

message
String
caption
String
owner
IWin32Window

Returns

Applies to

StaticShowMessage(Exception, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, IWin32Window)

public:
 static System::Windows::Forms::DialogResult StaticShowMessage(Exception ^ ex, System::String ^ caption, System::Windows::Forms::MessageBoxButtons buttons, System::Windows::Forms::MessageBoxIcon icon, System::Windows::Forms::MessageBoxDefaultButton defButton, System::Windows::Forms::IWin32Window ^ owner);
public static System.Windows.Forms.DialogResult StaticShowMessage(Exception ex, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Windows.Forms.MessageBoxDefaultButton defButton, System.Windows.Forms.IWin32Window owner);
static member StaticShowMessage : Exception * string * System.Windows.Forms.MessageBoxButtons * System.Windows.Forms.MessageBoxIcon * System.Windows.Forms.MessageBoxDefaultButton * System.Windows.Forms.IWin32Window -> System.Windows.Forms.DialogResult
Public Shared Function StaticShowMessage (ex As Exception, caption As String, buttons As MessageBoxButtons, icon As MessageBoxIcon, defButton As MessageBoxDefaultButton, owner As IWin32Window) As DialogResult

Parameters

caption
String
owner
IWin32Window

Returns

Applies to

StaticShowMessage(String, String, MessageBoxButtons, MessageBoxIcon, IWin32Window)

public:
 static System::Windows::Forms::DialogResult StaticShowMessage(System::String ^ message, System::String ^ caption, System::Windows::Forms::MessageBoxButtons buttons, System::Windows::Forms::MessageBoxIcon icon, System::Windows::Forms::IWin32Window ^ owner);
public static System.Windows.Forms.DialogResult StaticShowMessage(string message, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Windows.Forms.IWin32Window owner);
static member StaticShowMessage : string * string * System.Windows.Forms.MessageBoxButtons * System.Windows.Forms.MessageBoxIcon * System.Windows.Forms.IWin32Window -> System.Windows.Forms.DialogResult
Public Shared Function StaticShowMessage (message As String, caption As String, buttons As MessageBoxButtons, icon As MessageBoxIcon, owner As IWin32Window) As DialogResult

Parameters

message
String
caption
String
owner
IWin32Window

Returns

Applies to

StaticShowMessage(String, String, MessageBoxButtons, MessageBoxIcon)

public:
 static System::Windows::Forms::DialogResult StaticShowMessage(System::String ^ message, System::String ^ caption, System::Windows::Forms::MessageBoxButtons buttons, System::Windows::Forms::MessageBoxIcon icon);
public static System.Windows.Forms.DialogResult StaticShowMessage(string message, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon);
static member StaticShowMessage : string * string * System.Windows.Forms.MessageBoxButtons * System.Windows.Forms.MessageBoxIcon -> System.Windows.Forms.DialogResult
Public Shared Function StaticShowMessage (message As String, caption As String, buttons As MessageBoxButtons, icon As MessageBoxIcon) As DialogResult

Parameters

message
String
caption
String

Returns

Applies to

StaticShowMessage(Exception, String, MessageBoxButtons, MessageBoxIcon)

public:
 static System::Windows::Forms::DialogResult StaticShowMessage(Exception ^ ex, System::String ^ caption, System::Windows::Forms::MessageBoxButtons buttons, System::Windows::Forms::MessageBoxIcon icon);
public static System.Windows.Forms.DialogResult StaticShowMessage(Exception ex, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon);
static member StaticShowMessage : Exception * string * System.Windows.Forms.MessageBoxButtons * System.Windows.Forms.MessageBoxIcon -> System.Windows.Forms.DialogResult
Public Shared Function StaticShowMessage (ex As Exception, caption As String, buttons As MessageBoxButtons, icon As MessageBoxIcon) As DialogResult

Parameters

caption
String

Returns

Applies to

StaticShowMessage(Exception, String, MessageBoxButtons, MessageBoxIcon, IWin32Window)

public:
 static System::Windows::Forms::DialogResult StaticShowMessage(Exception ^ ex, System::String ^ caption, System::Windows::Forms::MessageBoxButtons buttons, System::Windows::Forms::MessageBoxIcon icon, System::Windows::Forms::IWin32Window ^ owner);
public static System.Windows.Forms.DialogResult StaticShowMessage(Exception ex, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Windows.Forms.IWin32Window owner);
static member StaticShowMessage : Exception * string * System.Windows.Forms.MessageBoxButtons * System.Windows.Forms.MessageBoxIcon * System.Windows.Forms.IWin32Window -> System.Windows.Forms.DialogResult
Public Shared Function StaticShowMessage (ex As Exception, caption As String, buttons As MessageBoxButtons, icon As MessageBoxIcon, owner As IWin32Window) As DialogResult

Parameters

caption
String
owner
IWin32Window

Returns

Applies to