ExceptionMessageBox.CustomDialogResult Property

Definition

Gets the clicked custom text dialog button.

public:
 property Microsoft::SqlServer::MessageBox::ExceptionMessageBoxDialogResult CustomDialogResult { Microsoft::SqlServer::MessageBox::ExceptionMessageBoxDialogResult get(); };
public Microsoft.SqlServer.MessageBox.ExceptionMessageBoxDialogResult CustomDialogResult { get; }
member this.CustomDialogResult : Microsoft.SqlServer.MessageBox.ExceptionMessageBoxDialogResult
Public ReadOnly Property CustomDialogResult As ExceptionMessageBoxDialogResult

Property Value

A ExceptionMessageBoxDialogResult value.

Remarks

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.

Applies to