Compartir a través de


ExceptionMessageBox Miembros

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.

El tipo ExceptionMessageBox expone los siguientes miembros.

Constructores

  Nombre Descripción
Método publico ExceptionMessageBox() () () () Creates an instance of ExceptionMessageBox with the default properties.
Método publico ExceptionMessageBox(Exception) Creates an instance of ExceptionMessageBox by using information from the specified Exception.
Método publico ExceptionMessageBox(String) Creates an instance of ExceptionMessageBox with the supplied top-level error message text.
Método publico 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.
Método publico 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.
Método publico 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.
Método publico 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.
Método publico 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. .
Método publico 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.
Método publico 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.
Método publico 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.
Método publico ExceptionMessageBox(String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton, ExceptionMessageBoxOptions) Infraestructura.

Principio

Métodos

  Nombre Descripción
Método publico Equals (Se hereda de Object).
Método protegido Finalize (Se hereda de Object).
Método publico GetHashCode (Se hereda de Object).
Método publicoMiembro estático GetMessageText Returns the string that a user can copy to the clipboard when the exception is displayed in an exception message box.
Método publico GetType (Se hereda de Object).
Método protegido MemberwiseClone (Se hereda de Object).
Método publico SetButtonText(String) Sets the text for the custom text button when only one button is displayed in the exception message box.
Método publico SetButtonText(String, String) Sets the text for the custom text buttons when only two buttons are displayed in the exception message box.
Método publico SetButtonText(String, String, String) Sets the text for the custom text buttons when only three buttons are displayed in the exception message box.
Método publico SetButtonText(String, String, String, String) Sets the text for the custom text buttons when only four buttons are displayed in the exception message box.
Método publico 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.
Método publico Show(IWin32Window) Shows the exception message box as a modal dialog box centered on the parent window.
Método publico Show(IntPtr, String, String, String, String, String, String, String) Infraestructura.
Método publico ToString (Se hereda de Object).

Principio

Propiedades

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

Principio

Eventos

  Nombre Descripción
Evento público OnCopyToClipboard Occurs when exception message text is copied from the message box to the Clipboard.

Principio