SqlWorkbenchHierarchy.StaticShowMessage Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- buttons
- MessageBoxButtons
- icon
- MessageBoxIcon
- defButton
- MessageBoxDefaultButton
- 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
- ex
- Exception
- caption
- String
- buttons
- MessageBoxButtons
- icon
- MessageBoxIcon
- defButton
- MessageBoxDefaultButton
- 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
- buttons
- MessageBoxButtons
- icon
- MessageBoxIcon
- 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
- buttons
- MessageBoxButtons
- icon
- MessageBoxIcon
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
- ex
- Exception
- caption
- String
- buttons
- MessageBoxButtons
- icon
- MessageBoxIcon
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
- ex
- Exception
- caption
- String
- buttons
- MessageBoxButtons
- icon
- MessageBoxIcon
- owner
- IWin32Window