This topic has not yet been rated - Rate this topic

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.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ