Поделиться через


Элементы 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.

В начало