ExceptionMessageBox.Show 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
這項功能將在未來的 SQL Server Microsoft 版本中移除。 請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。 請改用 Show。
多載
| 名稱 | Description |
|---|---|
| Show(IWin32Window) |
這項功能將在未來的 SQL Server Microsoft 版本中移除。 請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。 請改用 Show(IWin32Window)。 |
| Show(IntPtr, String, String, String, String, String, String, String) |
這項功能將在未來的 SQL Server Microsoft 版本中移除。 請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。 請改用 Show(IntPtr, String, String, String, String, String, String, String)。 |
Show(IWin32Window)
這項功能將在未來的 SQL Server Microsoft 版本中移除。 請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。 請改用 Show(IWin32Window)。
public:
System::Windows::Forms::DialogResult Show(System::Windows::Forms::IWin32Window ^ owner);
public System.Windows.Forms.DialogResult Show(System.Windows.Forms.IWin32Window owner);
member this.Show : System.Windows.Forms.IWin32Window -> System.Windows.Forms.DialogResult
Public Function Show (owner As IWin32Window) As DialogResult
參數
- owner
- IWin32Window
例外訊息框的父視窗。
傳回
DialogResult使用者點擊的按鈕。
適用於
Show(IntPtr, String, String, String, String, String, String, String)
這項功能將在未來的 SQL Server Microsoft 版本中移除。 請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。 請改用 Show(IntPtr, String, String, String, String, String, String, String)。
public:
System::Windows::Forms::DialogResult Show(IntPtr hwnd, System::String ^ message, System::String ^ source, System::String ^ sourceAppName, System::String ^ sourceAppVersion, System::String ^ sourceModule, System::String ^ sourceMessageId, System::String ^ sourceLanguage);
public System.Windows.Forms.DialogResult Show(IntPtr hwnd, string message, string source, string sourceAppName, string sourceAppVersion, string sourceModule, string sourceMessageId, string sourceLanguage);
member this.Show : nativeint * string * string * string * string * string * string * string -> System.Windows.Forms.DialogResult
Public Function Show (hwnd As IntPtr, message As String, source As String, sourceAppName As String, sourceAppVersion As String, sourceModule As String, sourceMessageId As String, sourceLanguage As String) As DialogResult
參數
- hwnd
-
IntPtr
nativeint
僅供參考之用。 不支援。 不保證未來的相容性。
- message
- String
僅供參考之用。 不支援。 不保證未來的相容性。
- source
- String
僅供參考之用。 不支援。 不保證未來的相容性。
- sourceAppName
- String
僅供參考之用。 不支援。 不保證未來的相容性。
- sourceAppVersion
- String
僅供參考之用。 不支援。 不保證未來的相容性。
- sourceModule
- String
僅供參考之用。 不支援。 不保證未來的相容性。
- sourceMessageId
- String
僅供參考之用。 不支援。 不保證未來的相容性。
- sourceLanguage
- String
僅供參考之用。 不支援。 不保證未來的相容性。
傳回
僅供參考之用。 不支援。 不保證未來的相容性。