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


Метод ExceptionMessageBox.SetButtonText (String, String)

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

Пространство имен:  Microsoft.SqlServer.MessageBox
Сборка:  Microsoft.ExceptionMessageBox (в Microsoft.ExceptionMessageBox.dll)

Синтаксис

'Декларация
Public Sub SetButtonText ( _
    button1Text As String, _
    button2Text As String _
)
'Применение
Dim instance As ExceptionMessageBox 
Dim button1Text As String 
Dim button2Text As String

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

Параметры

  • button1Text
    Тип: System.String
    Text for the first custom button.
  • button2Text
    Тип: System.String
    Text for the second custom button.

См. также

Справочник

ExceptionMessageBox Класс

Перегрузка SetButtonText

Пространство имен Microsoft.SqlServer.MessageBox