ExceptionMessageBox Constructors
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.
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Use ExceptionMessageBox instead.
Overloads
ExceptionMessageBox() |
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Use ExceptionMessageBox() instead. |
ExceptionMessageBox(Exception) |
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Use ExceptionMessageBox(Exception) instead. |
ExceptionMessageBox(String) |
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Use ExceptionMessageBox(String) instead. |
ExceptionMessageBox(Exception, ExceptionMessageBoxButtons) |
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Use ExceptionMessageBox(Exception, ExceptionMessageBoxButtons) instead. |
ExceptionMessageBox(String, String) |
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Use ExceptionMessageBox(String, String) instead. |
ExceptionMessageBox(Exception, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol) |
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Use ExceptionMessageBox(Exception, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol) instead. |
ExceptionMessageBox(String, String, ExceptionMessageBoxButtons) |
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Use ExceptionMessageBox(String, String, ExceptionMessageBoxButtons) instead. |
ExceptionMessageBox(Exception, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton) |
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Use ExceptionMessageBox(Exception, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton) instead. |
ExceptionMessageBox(String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol) |
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Use ExceptionMessageBox(String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol) instead. |
ExceptionMessageBox(Exception, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton, ExceptionMessageBoxOptions) |
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Use ExceptionMessageBox(Exception, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton, ExceptionMessageBoxOptions) instead. |
ExceptionMessageBox(String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton) |
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Use ExceptionMessageBox(String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton) instead. |
ExceptionMessageBox(String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton, ExceptionMessageBoxOptions) |
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Use ExceptionMessageBox(String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton, ExceptionMessageBoxOptions) instead. |
ExceptionMessageBox()
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Use ExceptionMessageBox() instead.
public:
ExceptionMessageBox();
public ExceptionMessageBox ();
Public Sub New ()
Applies to
ExceptionMessageBox(Exception)
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Use ExceptionMessageBox(Exception) instead.
public:
ExceptionMessageBox(Exception ^ exception);
public ExceptionMessageBox (Exception exception);
new Microsoft.NetEnterpriseServers.ExceptionMessageBox : Exception -> Microsoft.NetEnterpriseServers.ExceptionMessageBox
Public Sub New (exception As Exception)
Parameters
- exception
- Exception
A Exception that contains the top-level text, inner exception text, caption, data, help link, and optional additional information to display in the exception message box.
Applies to
ExceptionMessageBox(String)
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Use ExceptionMessageBox(String) instead.
public:
ExceptionMessageBox(System::String ^ text);
public ExceptionMessageBox (string text);
new Microsoft.NetEnterpriseServers.ExceptionMessageBox : string -> Microsoft.NetEnterpriseServers.ExceptionMessageBox
Public Sub New (text As String)
Parameters
- text
- String
Error text of the top-level message.
Applies to
ExceptionMessageBox(Exception, ExceptionMessageBoxButtons)
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Use ExceptionMessageBox(Exception, ExceptionMessageBoxButtons) instead.
public:
ExceptionMessageBox(Exception ^ exception, Microsoft::NetEnterpriseServers::ExceptionMessageBoxButtons buttons);
public ExceptionMessageBox (Exception exception, Microsoft.NetEnterpriseServers.ExceptionMessageBoxButtons buttons);
new Microsoft.NetEnterpriseServers.ExceptionMessageBox : Exception * Microsoft.NetEnterpriseServers.ExceptionMessageBoxButtons -> Microsoft.NetEnterpriseServers.ExceptionMessageBox
Public Sub New (exception As Exception, buttons As ExceptionMessageBoxButtons)
Parameters
- exception
- Exception
Exception that contains the top-level text, inner exception text, caption, data, help link, and optional additional information to display in the exception message box.
- buttons
- ExceptionMessageBoxButtons
ExceptionMessageBoxButtons enumeration that specifies the buttons to display in the message box.
Remarks
Use ExceptionMessageBox instead.
Applies to
ExceptionMessageBox(String, String)
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Use ExceptionMessageBox(String, String) instead.
public:
ExceptionMessageBox(System::String ^ text, System::String ^ caption);
public ExceptionMessageBox (string text, string caption);
new Microsoft.NetEnterpriseServers.ExceptionMessageBox : string * string -> Microsoft.NetEnterpriseServers.ExceptionMessageBox
Public Sub New (text As String, caption As String)
Parameters
- text
- String
Error text of the top-level message.
- caption
- String
Caption of the exception message box.
Applies to
ExceptionMessageBox(Exception, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol)
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Use ExceptionMessageBox(Exception, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol) instead.
public:
ExceptionMessageBox(Exception ^ exception, Microsoft::NetEnterpriseServers::ExceptionMessageBoxButtons buttons, Microsoft::NetEnterpriseServers::ExceptionMessageBoxSymbol symbol);
public ExceptionMessageBox (Exception exception, Microsoft.NetEnterpriseServers.ExceptionMessageBoxButtons buttons, Microsoft.NetEnterpriseServers.ExceptionMessageBoxSymbol symbol);
new Microsoft.NetEnterpriseServers.ExceptionMessageBox : Exception * Microsoft.NetEnterpriseServers.ExceptionMessageBoxButtons * Microsoft.NetEnterpriseServers.ExceptionMessageBoxSymbol -> Microsoft.NetEnterpriseServers.ExceptionMessageBox
Public Sub New (exception As Exception, buttons As ExceptionMessageBoxButtons, symbol As ExceptionMessageBoxSymbol)
Parameters
- exception
- Exception
Exception that contains the top-level text, inner exception text, caption, data, help link, and optional additional information to display in the exception message box.
- buttons
- ExceptionMessageBoxButtons
ExceptionMessageBoxButtons enumeration that specifies the buttons to display in the exception message box.
- symbol
- ExceptionMessageBoxSymbol
ExceptionMessageBoxSymbol enumeration that specifies the symbol to display in the exception message box.
Applies to
ExceptionMessageBox(String, String, ExceptionMessageBoxButtons)
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Use ExceptionMessageBox(String, String, ExceptionMessageBoxButtons) instead.
public:
ExceptionMessageBox(System::String ^ text, System::String ^ caption, Microsoft::NetEnterpriseServers::ExceptionMessageBoxButtons buttons);
public ExceptionMessageBox (string text, string caption, Microsoft.NetEnterpriseServers.ExceptionMessageBoxButtons buttons);
new Microsoft.NetEnterpriseServers.ExceptionMessageBox : string * string * Microsoft.NetEnterpriseServers.ExceptionMessageBoxButtons -> Microsoft.NetEnterpriseServers.ExceptionMessageBox
Public Sub New (text As String, caption As String, buttons As ExceptionMessageBoxButtons)
Parameters
- text
- String
Error text of the top-level message.
- caption
- String
Caption of the exception message box.
- buttons
- ExceptionMessageBoxButtons
ExceptionMessageBoxButtons enumeration that specifies the buttons to display in the exception message box.
Applies to
ExceptionMessageBox(Exception, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton)
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Use ExceptionMessageBox(Exception, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton) instead.
public:
ExceptionMessageBox(Exception ^ exception, Microsoft::NetEnterpriseServers::ExceptionMessageBoxButtons buttons, Microsoft::NetEnterpriseServers::ExceptionMessageBoxSymbol symbol, Microsoft::NetEnterpriseServers::ExceptionMessageBoxDefaultButton defaultButton);
public ExceptionMessageBox (Exception exception, Microsoft.NetEnterpriseServers.ExceptionMessageBoxButtons buttons, Microsoft.NetEnterpriseServers.ExceptionMessageBoxSymbol symbol, Microsoft.NetEnterpriseServers.ExceptionMessageBoxDefaultButton defaultButton);
new Microsoft.NetEnterpriseServers.ExceptionMessageBox : Exception * Microsoft.NetEnterpriseServers.ExceptionMessageBoxButtons * Microsoft.NetEnterpriseServers.ExceptionMessageBoxSymbol * Microsoft.NetEnterpriseServers.ExceptionMessageBoxDefaultButton -> Microsoft.NetEnterpriseServers.ExceptionMessageBox
Public Sub New (exception As Exception, buttons As ExceptionMessageBoxButtons, symbol As ExceptionMessageBoxSymbol, defaultButton As ExceptionMessageBoxDefaultButton)
Parameters
- exception
- Exception
Exception that contains the top-level text, inner exception text, caption, data, help link, and optional additional information to display in the exception message box.
- buttons
- ExceptionMessageBoxButtons
ExceptionMessageBoxButtons enumeration that specifies the buttons to display in the exception message box.
- symbol
- ExceptionMessageBoxSymbol
ExceptionMessageBoxSymbol enumeration that specifies the symbol to display in the exception message box.
- defaultButton
- ExceptionMessageBoxDefaultButton
ExceptionMessageBoxDefaultButton enumeration that specifies the default button for the exception message box.
Applies to
ExceptionMessageBox(String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol)
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Use ExceptionMessageBox(String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol) instead.
public:
ExceptionMessageBox(System::String ^ text, System::String ^ caption, Microsoft::NetEnterpriseServers::ExceptionMessageBoxButtons buttons, Microsoft::NetEnterpriseServers::ExceptionMessageBoxSymbol symbol);
public ExceptionMessageBox (string text, string caption, Microsoft.NetEnterpriseServers.ExceptionMessageBoxButtons buttons, Microsoft.NetEnterpriseServers.ExceptionMessageBoxSymbol symbol);
new Microsoft.NetEnterpriseServers.ExceptionMessageBox : string * string * Microsoft.NetEnterpriseServers.ExceptionMessageBoxButtons * Microsoft.NetEnterpriseServers.ExceptionMessageBoxSymbol -> Microsoft.NetEnterpriseServers.ExceptionMessageBox
Public Sub New (text As String, caption As String, buttons As ExceptionMessageBoxButtons, symbol As ExceptionMessageBoxSymbol)
Parameters
- text
- String
Error text of the top-level message.
- caption
- String
Dialog box caption of the exception message box.
- buttons
- ExceptionMessageBoxButtons
ExceptionMessageBoxButtons enumeration that specifies the buttons to display in the exception message box.
- symbol
- ExceptionMessageBoxSymbol
ExceptionMessageBoxSymbol enumeration that specifies the symbol to display in the exception message box.
Applies to
ExceptionMessageBox(Exception, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton, ExceptionMessageBoxOptions)
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Use ExceptionMessageBox(Exception, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton, ExceptionMessageBoxOptions) instead.
public:
ExceptionMessageBox(Exception ^ exception, Microsoft::NetEnterpriseServers::ExceptionMessageBoxButtons buttons, Microsoft::NetEnterpriseServers::ExceptionMessageBoxSymbol symbol, Microsoft::NetEnterpriseServers::ExceptionMessageBoxDefaultButton defaultButton, Microsoft::NetEnterpriseServers::ExceptionMessageBoxOptions options);
public ExceptionMessageBox (Exception exception, Microsoft.NetEnterpriseServers.ExceptionMessageBoxButtons buttons, Microsoft.NetEnterpriseServers.ExceptionMessageBoxSymbol symbol, Microsoft.NetEnterpriseServers.ExceptionMessageBoxDefaultButton defaultButton, Microsoft.NetEnterpriseServers.ExceptionMessageBoxOptions options);
new Microsoft.NetEnterpriseServers.ExceptionMessageBox : Exception * Microsoft.NetEnterpriseServers.ExceptionMessageBoxButtons * Microsoft.NetEnterpriseServers.ExceptionMessageBoxSymbol * Microsoft.NetEnterpriseServers.ExceptionMessageBoxDefaultButton * Microsoft.NetEnterpriseServers.ExceptionMessageBoxOptions -> Microsoft.NetEnterpriseServers.ExceptionMessageBox
Public Sub New (exception As Exception, buttons As ExceptionMessageBoxButtons, symbol As ExceptionMessageBoxSymbol, defaultButton As ExceptionMessageBoxDefaultButton, options As ExceptionMessageBoxOptions)
Parameters
- exception
- Exception
Exception that contains the top-level text, inner exception text, caption, data, help link, and optional additional information to display in the exception message box.
- buttons
- ExceptionMessageBoxButtons
ExceptionMessageBoxButtons enumeration that specifies the buttons to display in the exception message box.
- symbol
- ExceptionMessageBoxSymbol
ExceptionMessageBoxSymbol enumeration that specifies the symbol to display in the exception message box.
- defaultButton
- ExceptionMessageBoxDefaultButton
ExceptionMessageBoxDefaultButton enumeration that specifies the default button for the exception message box.
- options
- ExceptionMessageBoxOptions
The ExceptionMessageBoxOptions enumeration that controls other behaviors of the exception message box.
Applies to
ExceptionMessageBox(String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton)
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Use ExceptionMessageBox(String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton) instead.
public:
ExceptionMessageBox(System::String ^ text, System::String ^ caption, Microsoft::NetEnterpriseServers::ExceptionMessageBoxButtons buttons, Microsoft::NetEnterpriseServers::ExceptionMessageBoxSymbol symbol, Microsoft::NetEnterpriseServers::ExceptionMessageBoxDefaultButton defaultButton);
public ExceptionMessageBox (string text, string caption, Microsoft.NetEnterpriseServers.ExceptionMessageBoxButtons buttons, Microsoft.NetEnterpriseServers.ExceptionMessageBoxSymbol symbol, Microsoft.NetEnterpriseServers.ExceptionMessageBoxDefaultButton defaultButton);
new Microsoft.NetEnterpriseServers.ExceptionMessageBox : string * string * Microsoft.NetEnterpriseServers.ExceptionMessageBoxButtons * Microsoft.NetEnterpriseServers.ExceptionMessageBoxSymbol * Microsoft.NetEnterpriseServers.ExceptionMessageBoxDefaultButton -> Microsoft.NetEnterpriseServers.ExceptionMessageBox
Public Sub New (text As String, caption As String, buttons As ExceptionMessageBoxButtons, symbol As ExceptionMessageBoxSymbol, defaultButton As ExceptionMessageBoxDefaultButton)
Parameters
- text
- String
Error text of the top-level message.
- caption
- String
Dialog box caption of the exception message box.
- buttons
- ExceptionMessageBoxButtons
ExceptionMessageBoxButtons enumeration that specifies the buttons to display in the exception message box.
- symbol
- ExceptionMessageBoxSymbol
ExceptionMessageBoxSymbol enumeration that specifies the symbol to display in the exception message box.
- defaultButton
- ExceptionMessageBoxDefaultButton
ExceptionMessageBoxDefaultButton enumeration that specifies the default button for the exception message box.
Applies to
ExceptionMessageBox(String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton, ExceptionMessageBoxOptions)
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Use ExceptionMessageBox(String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton, ExceptionMessageBoxOptions) instead.
public:
ExceptionMessageBox(System::String ^ text, System::String ^ caption, Microsoft::NetEnterpriseServers::ExceptionMessageBoxButtons buttons, Microsoft::NetEnterpriseServers::ExceptionMessageBoxSymbol symbol, Microsoft::NetEnterpriseServers::ExceptionMessageBoxDefaultButton defaultButton, Microsoft::NetEnterpriseServers::ExceptionMessageBoxOptions options);
public ExceptionMessageBox (string text, string caption, Microsoft.NetEnterpriseServers.ExceptionMessageBoxButtons buttons, Microsoft.NetEnterpriseServers.ExceptionMessageBoxSymbol symbol, Microsoft.NetEnterpriseServers.ExceptionMessageBoxDefaultButton defaultButton, Microsoft.NetEnterpriseServers.ExceptionMessageBoxOptions options);
new Microsoft.NetEnterpriseServers.ExceptionMessageBox : string * string * Microsoft.NetEnterpriseServers.ExceptionMessageBoxButtons * Microsoft.NetEnterpriseServers.ExceptionMessageBoxSymbol * Microsoft.NetEnterpriseServers.ExceptionMessageBoxDefaultButton * Microsoft.NetEnterpriseServers.ExceptionMessageBoxOptions -> Microsoft.NetEnterpriseServers.ExceptionMessageBox
Public Sub New (text As String, caption As String, buttons As ExceptionMessageBoxButtons, symbol As ExceptionMessageBoxSymbol, defaultButton As ExceptionMessageBoxDefaultButton, options As ExceptionMessageBoxOptions)
Parameters
- text
- String
Error text of the top-level message.
- caption
- String
Dialog box caption of the exception message box.
- buttons
- ExceptionMessageBoxButtons
ExceptionMessageBoxButtons enumeration that specifies the buttons to display in the exception message box.
- symbol
- ExceptionMessageBoxSymbol
ExceptionMessageBoxSymbol enumeration that specifies the symbol to display in the exception message box.
- defaultButton
- ExceptionMessageBoxDefaultButton
ExceptionMessageBoxDefaultButton enumeration that specifies the default button for the exception message box.
- options
- ExceptionMessageBoxOptions
The ExceptionMessageBoxOptions enumeration that controls other behaviors of the exception message box.