Partilhar via


Método ExceptionMessageBox.SetButtonText (String)

Sets the text for the custom text button when only one button is displayed in the exception message box.

Namespace:  Microsoft.SqlServer.MessageBox
Assembly:  Microsoft.ExceptionMessageBox (em Microsoft.ExceptionMessageBox.dll)

Sintaxe

'Declaração
Public Sub SetButtonText ( _
    button1Text As String _
)
'Uso
Dim instance As ExceptionMessageBox 
Dim button1Text As String

instance.SetButtonText(button1Text)
public void SetButtonText(
    string button1Text
)
public:
void SetButtonText(
    String^ button1Text
)
member SetButtonText : 
        button1Text:string -> unit
public function SetButtonText(
    button1Text : String
)

Parâmetros

  • button1Text
    Tipo: System.String
    Text for the first custom button.

Consulte também

Referência

ExceptionMessageBox Classe

Sobrecarregado SetButtonText

Namespace Microsoft.SqlServer.MessageBox