0 out of 1 rated this helpful - Rate this topic

ExceptionMessageBox.CustomDialogResult Property

Gets the clicked custom text dialog button.

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

public ExceptionMessageBoxDialogResult CustomDialogResult { get; }

The CustomDialogResult property is read-only.

When the value of Buttons is Custom, the exception message box can display up to five buttons with custom button text. The ExceptionMessageBoxDialogResult enumeration, which is returned by Show, supports only three buttons. Use this property after the exception message box has been dismissed to determine which button with custom button text was clicked.

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