ExceptionMessageBox.SetButtonText Method (String, String, String)

Sets the text for the custom text buttons when only three 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,
	string button3Text
public void SetButtonText (
	String button1Text, 
	String button2Text, 
	String button3Text
public function SetButtonText (
	button1Text : String, 
	button2Text : String, 
	button3Text : String



Text for the first custom button.


Text for the second custom button.


Text for the third custom button.

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

Community Additions