ExceptionMessageBox 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
后续版本的 Microsoft SQL Server 将删除该功能。 请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。 请改用 ExceptionMessageBox。
重载
ExceptionMessageBox()
后续版本的 Microsoft SQL Server 将删除该功能。 请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。 请改用 ExceptionMessageBox()。
public:
ExceptionMessageBox();
public ExceptionMessageBox ();
Public Sub New ()
适用于
ExceptionMessageBox(Exception)
后续版本的 Microsoft SQL Server 将删除该功能。 请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。 请改用 ExceptionMessageBox(Exception)。
public:
ExceptionMessageBox(Exception ^ exception);
public ExceptionMessageBox (Exception exception);
new Microsoft.NetEnterpriseServers.ExceptionMessageBox : Exception -> Microsoft.NetEnterpriseServers.ExceptionMessageBox
Public Sub New (exception As Exception)
参数
适用于
ExceptionMessageBox(String)
后续版本的 Microsoft SQL Server 将删除该功能。 请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。 请改用 ExceptionMessageBox(String)。
public:
ExceptionMessageBox(System::String ^ text);
public ExceptionMessageBox (string text);
new Microsoft.NetEnterpriseServers.ExceptionMessageBox : string -> Microsoft.NetEnterpriseServers.ExceptionMessageBox
Public Sub New (text As String)
参数
- text
- String
顶级消息的错误文本。
适用于
ExceptionMessageBox(Exception, ExceptionMessageBoxButtons)
后续版本的 Microsoft SQL Server 将删除该功能。 请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。 请改用 ExceptionMessageBox(Exception, ExceptionMessageBoxButtons)。
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)
参数
- buttons
- ExceptionMessageBoxButtons
ExceptionMessageBoxButtons 枚举,用于指定要在消息框中显示的按钮。
注解
请改用 ExceptionMessageBox。
适用于
ExceptionMessageBox(String, String)
后续版本的 Microsoft SQL Server 将删除该功能。 请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。 请改用 ExceptionMessageBox(String, String)。
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)
参数
- text
- String
顶级消息的错误文本。
- caption
- String
异常消息框的标题。
适用于
ExceptionMessageBox(Exception, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol)
后续版本的 Microsoft SQL Server 将删除该功能。 请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。 请改用 ExceptionMessageBox(Exception, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol)。
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)
参数
- buttons
- ExceptionMessageBoxButtons
ExceptionMessageBoxButtons 枚举,用于指定要在异常消息框中显示的按钮。
- symbol
- ExceptionMessageBoxSymbol
ExceptionMessageBoxSymbol 枚举,用于指定要在异常消息框中显示的符号。
适用于
ExceptionMessageBox(String, String, ExceptionMessageBoxButtons)
后续版本的 Microsoft SQL Server 将删除该功能。 请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。 请改用 ExceptionMessageBox(String, String, ExceptionMessageBoxButtons)。
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)
参数
- text
- String
顶级消息的错误文本。
- caption
- String
异常消息框的标题。
- buttons
- ExceptionMessageBoxButtons
ExceptionMessageBoxButtons 枚举,用于指定要在异常消息框中显示的按钮。
适用于
ExceptionMessageBox(Exception, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton)
后续版本的 Microsoft SQL Server 将删除该功能。 请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。 请改用 ExceptionMessageBox(Exception, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton)。
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)
参数
- buttons
- ExceptionMessageBoxButtons
ExceptionMessageBoxButtons 枚举,用于指定要在异常消息框中显示的按钮。
- symbol
- ExceptionMessageBoxSymbol
ExceptionMessageBoxSymbol 枚举,用于指定要在异常消息框中显示的符号。
- defaultButton
- ExceptionMessageBoxDefaultButton
ExceptionMessageBoxDefaultButton 枚举,用于指定异常消息框的默认按钮。
适用于
ExceptionMessageBox(String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol)
后续版本的 Microsoft SQL Server 将删除该功能。 请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。 请改用 ExceptionMessageBox(String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol)。
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)
参数
- text
- String
顶级消息的错误文本。
- caption
- String
异常消息框的对话框标题。
- buttons
- ExceptionMessageBoxButtons
ExceptionMessageBoxButtons 枚举,用于指定要在异常消息框中显示的按钮。
- symbol
- ExceptionMessageBoxSymbol
ExceptionMessageBoxSymbol 枚举,用于指定要在异常消息框中显示的符号。
适用于
ExceptionMessageBox(Exception, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton, ExceptionMessageBoxOptions)
后续版本的 Microsoft SQL Server 将删除该功能。 请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。 请改用 ExceptionMessageBox(Exception, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton, ExceptionMessageBoxOptions)。
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)
参数
- buttons
- ExceptionMessageBoxButtons
ExceptionMessageBoxButtons 枚举,用于指定要在异常消息框中显示的按钮。
- symbol
- ExceptionMessageBoxSymbol
ExceptionMessageBoxSymbol 枚举,用于指定要在异常消息框中显示的符号。
- defaultButton
- ExceptionMessageBoxDefaultButton
ExceptionMessageBoxDefaultButton 枚举,用于指定异常消息框的默认按钮。
- options
- ExceptionMessageBoxOptions
控制 ExceptionMessageBoxOptions 异常消息框的其他行为的枚举。
适用于
ExceptionMessageBox(String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton)
后续版本的 Microsoft SQL Server 将删除该功能。 请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。 请改用 ExceptionMessageBox(String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton)。
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)
参数
- text
- String
顶级消息的错误文本。
- caption
- String
异常消息框的对话框标题。
- buttons
- ExceptionMessageBoxButtons
ExceptionMessageBoxButtons 枚举,用于指定要在异常消息框中显示的按钮。
- symbol
- ExceptionMessageBoxSymbol
ExceptionMessageBoxSymbol 枚举,用于指定要在异常消息框中显示的符号。
- defaultButton
- ExceptionMessageBoxDefaultButton
ExceptionMessageBoxDefaultButton 枚举,用于指定异常消息框的默认按钮。
适用于
ExceptionMessageBox(String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton, ExceptionMessageBoxOptions)
后续版本的 Microsoft SQL Server 将删除该功能。 请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。 请改用 ExceptionMessageBox(String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton, ExceptionMessageBoxOptions)。
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)
参数
- text
- String
顶级消息的错误文本。
- caption
- String
异常消息框的对话框标题。
- buttons
- ExceptionMessageBoxButtons
ExceptionMessageBoxButtons 枚举,用于指定要在异常消息框中显示的按钮。
- symbol
- ExceptionMessageBoxSymbol
ExceptionMessageBoxSymbol 枚举,用于指定要在异常消息框中显示的符号。
- defaultButton
- ExceptionMessageBoxDefaultButton
ExceptionMessageBoxDefaultButton 枚举,用于指定异常消息框的默认按钮。
- options
- ExceptionMessageBoxOptions
控制 ExceptionMessageBoxOptions 异常消息框的其他行为的枚举。