ExceptionMessageBox.Show 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
后续版本的 Microsoft SQL Server 将删除该功能。 请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。 请改用 Show。
重载
| Show(IWin32Window) |
后续版本的 Microsoft SQL Server 将删除该功能。 请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。 请改用 Show(IWin32Window)。 |
| Show(IntPtr, String, String, String, String, String, String, String) |
后续版本的 Microsoft SQL Server 将删除该功能。 请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。 请改用 Show(IntPtr, String, String, String, String, String, String, String)。 |
Show(IWin32Window)
后续版本的 Microsoft SQL Server 将删除该功能。 请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。 请改用 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)
后续版本的 Microsoft SQL Server 将删除该功能。 请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。 请改用 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
标识为仅供参考。 不支持。 无法保证将来的兼容性。
返回
标识为仅供参考。 不支持。 无法保证将来的兼容性。