ExceptionMessageBox 建構函式

定義

這項功能將在未來的 SQL Server Microsoft 版本中移除。 請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。 請改用 ExceptionMessageBox

多載

名稱 Description
ExceptionMessageBox()

這項功能將在未來的 SQL Server Microsoft 版本中移除。 請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。 請改用 ExceptionMessageBox()

ExceptionMessageBox(Exception)

這項功能將在未來的 SQL Server Microsoft 版本中移除。 請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。 請改用 ExceptionMessageBox(Exception)

ExceptionMessageBox(String)

這項功能將在未來的 SQL Server Microsoft 版本中移除。 請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。 請改用 ExceptionMessageBox(String)

ExceptionMessageBox(Exception, ExceptionMessageBoxButtons)

這項功能將在未來的 SQL Server Microsoft 版本中移除。 請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。 請改用 ExceptionMessageBox(Exception, ExceptionMessageBoxButtons)

ExceptionMessageBox(String, String)

這項功能將在未來的 SQL Server Microsoft 版本中移除。 請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。 請改用 ExceptionMessageBox(String, String)

ExceptionMessageBox(Exception, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol)

這項功能將在未來的 SQL Server Microsoft 版本中移除。 請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。 請改用 ExceptionMessageBox(Exception, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol)

ExceptionMessageBox(String, String, ExceptionMessageBoxButtons)

這項功能將在未來的 SQL Server Microsoft 版本中移除。 請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。 請改用 ExceptionMessageBox(String, String, ExceptionMessageBoxButtons)

ExceptionMessageBox(Exception, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton)

這項功能將在未來的 SQL Server Microsoft 版本中移除。 請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。 請改用 ExceptionMessageBox(Exception, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton)

ExceptionMessageBox(String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol)

這項功能將在未來的 SQL Server Microsoft 版本中移除。 請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。 請改用 ExceptionMessageBox(String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol)

ExceptionMessageBox(Exception, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton, ExceptionMessageBoxOptions)

這項功能將在未來的 SQL Server Microsoft 版本中移除。 請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。 請改用 ExceptionMessageBox(Exception, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton, ExceptionMessageBoxOptions)

ExceptionMessageBox(String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton)

這項功能將在未來的 SQL Server Microsoft 版本中移除。 請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。 請改用 ExceptionMessageBox(String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton)

ExceptionMessageBox(String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton, ExceptionMessageBoxOptions)

這項功能將在未來的 SQL Server Microsoft 版本中移除。 請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。 請改用 ExceptionMessageBox(String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton, ExceptionMessageBoxOptions)

ExceptionMessageBox()

這項功能將在未來的 SQL Server Microsoft 版本中移除。 請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。 請改用 ExceptionMessageBox()

public:
 ExceptionMessageBox();
public ExceptionMessageBox();
Public Sub New ()

適用於

ExceptionMessageBox(Exception)

這項功能將在未來的 SQL Server Microsoft 版本中移除。 請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。 請改用 ExceptionMessageBox(Exception)

public:
 ExceptionMessageBox(Exception ^ exception);
public ExceptionMessageBox(Exception exception);
new Microsoft.NetEnterpriseServers.ExceptionMessageBox : Exception -> Microsoft.NetEnterpriseServers.ExceptionMessageBox
Public Sub New (exception As Exception)

參數

exception
Exception

Exception A 包含頂層文字、內部例外文字、說明文字、資料、說明連結,以及可在例外訊息框中顯示的可選額外資訊。

適用於

ExceptionMessageBox(String)

這項功能將在未來的 SQL Server Microsoft 版本中移除。 請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。 請改用 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)

這項功能將在未來的 SQL Server Microsoft 版本中移除。 請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。 請改用 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)

參數

exception
Exception

Exception 其中包含頂層文字、內部例外文字、說明文字、資料、說明連結,以及可在例外訊息框中顯示的可選額外資訊。

buttons
ExceptionMessageBoxButtons

ExceptionMessageBoxButtons 列舉指定訊息框中要顯示的按鈕。

備註

請改用 ExceptionMessageBox

適用於

ExceptionMessageBox(String, String)

這項功能將在未來的 SQL Server Microsoft 版本中移除。 請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。 請改用 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)

這項功能將在未來的 SQL Server Microsoft 版本中移除。 請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。 請改用 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)

參數

exception
Exception

Exception 其中包含頂層文字、內部例外文字、說明文字、資料、說明連結,以及可在例外訊息框中顯示的可選額外資訊。

buttons
ExceptionMessageBoxButtons

ExceptionMessageBoxButtons 列舉指定要顯示在例外訊息框中顯示的按鈕。

symbol
ExceptionMessageBoxSymbol

ExceptionMessageBoxSymbol 列舉指定要在例外訊息框中顯示的符號。

適用於

ExceptionMessageBox(String, String, ExceptionMessageBoxButtons)

這項功能將在未來的 SQL Server Microsoft 版本中移除。 請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。 請改用 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)

這項功能將在未來的 SQL Server Microsoft 版本中移除。 請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。 請改用 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)

參數

exception
Exception

Exception 其中包含頂層文字、內部例外文字、說明文字、資料、說明連結,以及可在例外訊息框中顯示的可選額外資訊。

buttons
ExceptionMessageBoxButtons

ExceptionMessageBoxButtons 列舉指定要顯示在例外訊息框中顯示的按鈕。

symbol
ExceptionMessageBoxSymbol

ExceptionMessageBoxSymbol 列舉指定要在例外訊息框中顯示的符號。

defaultButton
ExceptionMessageBoxDefaultButton

ExceptionMessageBoxDefaultButton 列舉,指定例外訊息框的預設按鈕。

適用於

ExceptionMessageBox(String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol)

這項功能將在未來的 SQL Server Microsoft 版本中移除。 請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。 請改用 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)

這項功能將在未來的 SQL Server Microsoft 版本中移除。 請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。 請改用 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)

參數

exception
Exception

Exception 其中包含頂層文字、內部例外文字、說明文字、資料、說明連結,以及可在例外訊息框中顯示的可選額外資訊。

buttons
ExceptionMessageBoxButtons

ExceptionMessageBoxButtons 列舉指定要顯示在例外訊息框中顯示的按鈕。

symbol
ExceptionMessageBoxSymbol

ExceptionMessageBoxSymbol 列舉指定要在例外訊息框中顯示的符號。

defaultButton
ExceptionMessageBoxDefaultButton

ExceptionMessageBoxDefaultButton 列舉,指定例外訊息框的預設按鈕。

options
ExceptionMessageBoxOptions

ExceptionMessageBoxOptions這是控制例外訊息盒其他行為的列舉。

適用於

ExceptionMessageBox(String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton)

這項功能將在未來的 SQL Server Microsoft 版本中移除。 請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。 請改用 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)

這項功能將在未來的 SQL Server Microsoft 版本中移除。 請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。 請改用 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這是控制例外訊息盒其他行為的列舉。

適用於