ExceptionMessageBox.Buttons Property

 

Gets or sets the buttons to display in the message box.

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

public ExceptionMessageBoxButtons Buttons { get; set; }

By default, only OK is displayed.

When you use Custom, you must call SetButtonText to set the button text before calling Show.

Return to top
Show: