ExceptionMessageBox Oluşturucusu (Exception, ExceptionMessageBoxButtons)
Oluşturur bir örnek , ExceptionMessageBox belirtilen bilgileri kullanarak Exception ve belirterek düğmeleri görüntülenecek ileti kutusu.
Ad Alanı: Microsoft.SqlServer.MessageBox
Derleme: Microsoft.ExceptionMessageBox (Microsoft.ExceptionMessageBox içinde.dll)
Sözdizimi
'Bildirim
Public Sub New ( _
exception As Exception, _
buttons As ExceptionMessageBoxButtons _
)
'Kullanım
Dim exception As Exception
Dim buttons As ExceptionMessageBoxButtons
Dim instance As New ExceptionMessageBox(exception, _
buttons)
public ExceptionMessageBox(
Exception exception,
ExceptionMessageBoxButtons buttons
)
public:
ExceptionMessageBox(
Exception^ exception,
ExceptionMessageBoxButtons buttons
)
new :
exception:Exception *
buttons:ExceptionMessageBoxButtons -> ExceptionMessageBox
public function ExceptionMessageBox(
exception : Exception,
buttons : ExceptionMessageBoxButtons
)
Parametreler
- exception
Tür: System.Exception
Exception üst düzey metin, iç özel durum metni, resim yazısı, veri, Yardım bağlantısı ve özel durum ileti kutusunda görüntülenecek isteğe bağlı ek bilgiler içerir.
- buttons
Tür: Microsoft.SqlServer.MessageBox.ExceptionMessageBoxButtons
ExceptionMessageBoxButtons ileti kutusunda görüntülenecek düğmeleri belirtir numaralandırma.