Compartir a través de


ExceptionMessageBox.SetButtonText Método

Incluir miembros protegidos
Incluir miembros heredados

Sets the text for custom text buttons.

Este miembro está sobrecargado. Para obtener información completa acerca de este miembro, incluidos sintaxis, uso y ejemplos, haga clic en un nombre de la lista de sobrecarga.

Lista de sobrecargas

  Nombre Descripción
Método público SetButtonText(String) Sets the text for the custom text button when only one button is displayed in the exception message box.
Método público SetButtonText(String, String) Sets the text for the custom text buttons when only two buttons are displayed in the exception message box.
Método público 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 público 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 público 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.

Arriba

Comentarios

Custom text buttons are used when Buttons is set to Custom.

The number of button text strings provided determines the number of custom text buttons displayed. The buttons are displayed in the order in which the strings are specified.

After the message box has been dismissed, use CustomDialogResult to determine which button was clicked.

Vea también

Referencia

ExceptionMessageBox Clase

Espacio de nombres Microsoft.SqlServer.MessageBox