ExceptionMessageBox.SetButtonText Method (String, String)

 

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

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

public void SetButtonText(
	string button1Text,
	string button2Text
)

Parameters

button1Text
Type: System.String

Text for the first custom button.

button2Text
Type: System.String

Text for the second custom button.

Return to top
Show: