Compartir a través de


ExceptionMessageBox.SetButtonText Método (String, String, String)

Sets the text for the custom text buttons when only three buttons are displayed in the exception message box.

Espacio de nombres:  Microsoft.SqlServer.MessageBox
Ensamblado:  Microsoft.ExceptionMessageBox (en Microsoft.ExceptionMessageBox.dll)

Sintaxis

'Declaración
Public Sub SetButtonText ( _
    button1Text As String, _
    button2Text As String, _
    button3Text As String _
)
'Uso
Dim instance As ExceptionMessageBox 
Dim button1Text As String 
Dim button2Text As String 
Dim button3Text As String

instance.SetButtonText(button1Text, button2Text, _
    button3Text)
public void SetButtonText(
    string button1Text,
    string button2Text,
    string button3Text
)
public:
void SetButtonText(
    String^ button1Text, 
    String^ button2Text, 
    String^ button3Text
)
member SetButtonText : 
        button1Text:string * 
        button2Text:string * 
        button3Text:string -> unit
public function SetButtonText(
    button1Text : String, 
    button2Text : String, 
    button3Text : String
)

Parámetros

  • button1Text
    Tipo: System.String
    Text for the first custom button.
  • button2Text
    Tipo: System.String
    Text for the second custom button.
  • button3Text
    Tipo: System.String
    Text for the third custom button.

Vea también

Referencia

ExceptionMessageBox Clase

Sobrecarga de SetButtonText

Espacio de nombres Microsoft.SqlServer.MessageBox