ExceptionMessageBox.CustomDialogResult Properti

Definisi

Mendapatkan tombol dialog teks kustom yang diklik.

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

Nilai Properti

Nilai ExceptionMessageBoxDialogResult.

Keterangan

Properti CustomDialogResult bersifat baca-saja.

Saat nilai Buttons adalah Custom, kotak pesan pengecualian dapat menampilkan hingga lima tombol dengan teks tombol kustom. Enumerasi ExceptionMessageBoxDialogResult , yang dikembalikan oleh Show, hanya mendukung tiga tombol. Gunakan properti ini setelah kotak pesan pengecualian ditutup untuk menentukan tombol mana dengan teks tombol kustom yang diklik.

Berlaku untuk