ExceptionMessageBox Oluşturucusu (String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol)
Oluşturur bir örnek , ExceptionMessageBox sağlanan en üst düzey hata iletisi metni ve iletişim kutusu başlık özel durum iletisi kutusunu.Yöntem ayrıca düğmeler ve özel durum ileti kutusunda görüntülenecek simgeyi belirtir.
Ad Alanı: Microsoft.SqlServer.MessageBox
Derleme: Microsoft.ExceptionMessageBox (Microsoft.ExceptionMessageBox içinde.dll)
Sözdizimi
'Bildirim
Public Sub New ( _
text As String, _
caption As String, _
buttons As ExceptionMessageBoxButtons, _
symbol As ExceptionMessageBoxSymbol _
)
'Kullanım
Dim text As String
Dim caption As String
Dim buttons As ExceptionMessageBoxButtons
Dim symbol As ExceptionMessageBoxSymbol
Dim instance As New ExceptionMessageBox(text, caption, _
buttons, symbol)
public ExceptionMessageBox(
string text,
string caption,
ExceptionMessageBoxButtons buttons,
ExceptionMessageBoxSymbol symbol
)
public:
ExceptionMessageBox(
String^ text,
String^ caption,
ExceptionMessageBoxButtons buttons,
ExceptionMessageBoxSymbol symbol
)
new :
text:string *
caption:string *
buttons:ExceptionMessageBoxButtons *
symbol:ExceptionMessageBoxSymbol -> ExceptionMessageBox
public function ExceptionMessageBox(
text : String,
caption : String,
buttons : ExceptionMessageBoxButtons,
symbol : ExceptionMessageBoxSymbol
)
Parametreler
- text
Tür: System.String
Hata metni iletinin üst düzey.
- caption
Tür: System.String
Özel durum ileti kutusunun iletişim kutusunu başlık.
- buttons
Tür: Microsoft.SqlServer.MessageBox.ExceptionMessageBoxButtons
ExceptionMessageBoxButtons Numaralandırma özel durum ileti kutusunda görüntülenecek düğmeleri belirtir.
- symbol
Tür: Microsoft.SqlServer.MessageBox.ExceptionMessageBoxSymbol
ExceptionMessageBoxSymbol Numaralandırma özel durum ileti kutusunda görüntülenecek simgeyi belirtir.