Свойство CustomDialogResult
Gets the clicked custom text dialog button.
Пространство имен: Microsoft.SqlServer.MessageBox
Сборка: Microsoft.ExceptionMessageBox (в Microsoft.ExceptionMessageBox.dll)
Синтаксис
'Декларация
Public ReadOnly Property CustomDialogResult As ExceptionMessageBoxDialogResult
Get
'Применение
Dim instance As ExceptionMessageBox
Dim value As ExceptionMessageBoxDialogResult
value = instance.CustomDialogResult
public ExceptionMessageBoxDialogResult CustomDialogResult { get; }
public:
property ExceptionMessageBoxDialogResult CustomDialogResult {
ExceptionMessageBoxDialogResult get ();
}
member CustomDialogResult : ExceptionMessageBoxDialogResult
function get CustomDialogResult () : ExceptionMessageBoxDialogResult
Значение свойства
Тип Microsoft.SqlServer.MessageBox. . :: . .ExceptionMessageBoxDialogResult
A ExceptionMessageBoxDialogResult value.
Замечания
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.