共用方式為


ExceptionMessageBox 成員

Displays a message box that can be customized with text, buttons, and symbols to improve the customer experience with a Microsoft Windows .NET Framework-based application.

ExceptionMessageBox 型別公開下列成員。

建構函式

  名稱 描述
公用方法 ExceptionMessageBox() () () () Creates an instance of ExceptionMessageBox with the default properties.
公用方法 ExceptionMessageBox(Exception) Creates an instance of ExceptionMessageBox by using information from the specified Exception.
公用方法 ExceptionMessageBox(String) Creates an instance of ExceptionMessageBox with the supplied top-level error message text.
公用方法 ExceptionMessageBox(Exception, ExceptionMessageBoxButtons) Creates an instance of ExceptionMessageBox by using information from the specified Exception and by specifying the buttons to display in the message box.
公用方法 ExceptionMessageBox(String, String) Creates an instance of ExceptionMessageBox with the supplied top-level error message text and the dialog box caption of the exception message box.
公用方法 ExceptionMessageBox(Exception, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol) Creates an instance of ExceptionMessageBox by using information from the specified Exception and by specifying the buttons and symbol to display in the message box.
公用方法 ExceptionMessageBox(String, String, ExceptionMessageBoxButtons) Creates an instance of ExceptionMessageBox with the supplied top-level error message text and the dialog box caption of the exception message box. The method also specifies buttons to display in the exception message box.
公用方法 ExceptionMessageBox(Exception, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton) Creates an instance of ExceptionMessageBox by using information from the specified Exception and by specifying the buttons, symbol, and default button to display in the exception message box. .
公用方法 ExceptionMessageBox(String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol) Creates an instance of ExceptionMessageBox with the supplied top-level error message text and dialog box caption of the exception message box. The method also specifies the buttons and symbol to display in the exception message box.
公用方法 ExceptionMessageBox(Exception, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton, ExceptionMessageBoxOptions) Creates an instance of ExceptionMessageBox by using information from the specified Exception and by specifying the buttons, symbol, default button, and other properties to display in the exception message box.
公用方法 ExceptionMessageBox(String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton) Creates an instance of ExceptionMessageBox with the supplied top-level error message text and dialog box caption of the message box. The method also specifies the buttons, symbol, and default button to display in the exception message box.
公用方法 ExceptionMessageBox(String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton, ExceptionMessageBoxOptions) 基礎結構。

頂端

方法

  名稱 描述
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
公用方法靜態成員 GetMessageText Returns the string that a user can copy to the clipboard when the exception is displayed in an exception message box.
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 SetButtonText(String) Sets the text for the custom text button when only one button is displayed in the exception message box.
公用方法 SetButtonText(String, String) Sets the text for the custom text buttons when only two buttons are displayed in the exception message box.
公用方法 SetButtonText(String, String, String) Sets the text for the custom text buttons when only three buttons are displayed in the exception message box.
公用方法 SetButtonText(String, String, String, String) Sets the text for the custom text buttons when only four buttons are displayed in the exception message box.
公用方法 SetButtonText(String, String, String, String, String) Sets the text for the custom text buttons when only five buttons are displayed in the exception message box.
公用方法 Show(IWin32Window) Shows the exception message box as a modal dialog box centered on the parent window.
公用方法 Show(IntPtr, String, String, String, String, String, String, String) 基礎結構。
公用方法 ToString (繼承自 Object。)

頂端

屬性

  名稱 描述
公用屬性靜態成員 AbortButtonText Gets the default text for the Abort button.
公用屬性 Beep Specifies whether to play an audible sound when the message is displayed.
公用屬性 Buttons Gets or sets the buttons to display in the message box.
公用屬性靜態成員 CancelButtonText Gets the default text for the Cancel button.
公用屬性 Caption Gets or sets the dialog box caption of the exception message box.
公用屬性 CheckBoxRegistryKey Sets an opened RegistryKey that controls the check box that is displayed on the exception message box when ShowCheckbox()()()() is true.
公用屬性 CheckBoxRegistryMeansDoNotShowDialog Determines whether the registry value content specified by CheckBoxRegistryKey and CheckBoxRegistryValue indicates a previous user decision not to view this message.
公用屬性 CheckBoxRegistryValue Gets or sets the registry value name that controls the check box on the exception message box when ShowCheckbox()()()() is true.
公用屬性 CheckBoxText Gets or sets the text to display in the check box on the exception message box when ShowCheckbox()()()() is true.
公用屬性 CustomDialogResult Gets the clicked custom text dialog button.
公用屬性 CustomSymbol Gets or sets a custom bitmap to use as the symbol on the exception message box.
公用屬性 Data Gets the IDictionary interface that stores help link and advanced information associated with the top-level message.
公用屬性 DefaultButton Gets or sets the default button on the message box.
公用屬性 DefaultDialogResult Gets or sets the value returned by the Show method when the user has previously indicated not to show a given message again.
公用屬性靜態成員 FailButtonText Gets the default text for the Fail button.
公用屬性 Font Gets or sets the font used in the message box.
公用屬性 HelpLink Gets or sets the link to the help file or help Web page associated with the top-level message.
公用屬性靜態成員 IgnoreButtonText Gets the default text for the Ignore button.
公用屬性 InnerException Gets or sets the Exception instance associated with the lower-level message(s).
公用屬性 IsCheckBoxChecked Specifies whether the check box is selected when ShowCheckbox()()()() is true.
公用屬性 Message Gets or sets the Exception that contains the message to display.
公用屬性 MessageLevelDefault Gets or sets the number of message levels to display in the message box.
公用屬性靜態成員 NoButtonText Gets the default text for the No button
公用屬性靜態成員 OKButtonText Gets the default text for the OK button
公用屬性 Options Gets or sets miscellaneous display options for the message box
公用屬性靜態成員 RetryButtonText Gets the default text for the Retry button.
公用屬性 ShowCheckBox Specifies whether to show the check box in the exception message box.
公用屬性 ShowToolBar Specifies whether to show the command button toolbar on the exception message box.
公用屬性 Symbol Gets or sets the symbol to display in the exception message box.
公用屬性 Text Gets or sets the text of the top-level message to display in the exception message box
公用屬性 UseOwnerFont Specifies whether to retrieve the font of the owner window and use it as the font for the exception message box.
公用屬性靜態成員 YesButtonText Gets the default text for the Yes button

頂端

事件

  名稱 描述
公用事件 OnCopyToClipboard Occurs when exception message text is copied from the message box to the Clipboard.

頂端