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)
Property Value
Type: Microsoft.SqlServer.MessageBox.ExceptionMessageBoxButtonsAn ExceptionMessageBoxButtons value.
By default, only OK is displayed.
When you use Custom, you must call SetButtonText to set the button text before calling Show.