Konstruktor ExceptionMessageBox (String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton, ExceptionMessageBoxOptions)
Ta funkcja zostanie usunięta z przyszłej wersji programu Microsoft SQL Server. Należy unikać stosowania tej funkcji w nowych projektach oraz zaplanować modyfikację aplikacji, w których obecnie jest używana ta funkcja.Użyj #ctor(String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptcionMessageBoxDefaultButton, ExceptionMessageBoxOptions) zamiast.
Przestrzeń nazw: Microsoft.NetEnterpriseServers
Zestaw: Microsoft.NetEnterpriseServers.ExceptionMessageBox (w Microsoft.NetEnterpriseServers.ExceptionMessageBox.dll)
Syntax
'Deklaracja
Public Sub New ( _
text As String, _
caption As String, _
buttons As ExceptionMessageBoxButtons, _
symbol As ExceptionMessageBoxSymbol, _
defaultButton As ExceptionMessageBoxDefaultButton, _
options As ExceptionMessageBoxOptions _
)
'Użycie
Dim text As String
Dim caption As String
Dim buttons As ExceptionMessageBoxButtons
Dim symbol As ExceptionMessageBoxSymbol
Dim defaultButton As ExceptionMessageBoxDefaultButton
Dim options As ExceptionMessageBoxOptions
Dim instance As New ExceptionMessageBox(text, caption, _
buttons, symbol, defaultButton, options)
public ExceptionMessageBox(
string text,
string caption,
ExceptionMessageBoxButtons buttons,
ExceptionMessageBoxSymbol symbol,
ExceptionMessageBoxDefaultButton defaultButton,
ExceptionMessageBoxOptions options
)
public:
ExceptionMessageBox(
String^ text,
String^ caption,
ExceptionMessageBoxButtons buttons,
ExceptionMessageBoxSymbol symbol,
ExceptionMessageBoxDefaultButton defaultButton,
ExceptionMessageBoxOptions options
)
new :
text:string *
caption:string *
buttons:ExceptionMessageBoxButtons *
symbol:ExceptionMessageBoxSymbol *
defaultButton:ExceptionMessageBoxDefaultButton *
options:ExceptionMessageBoxOptions -> ExceptionMessageBox
public function ExceptionMessageBox(
text : String,
caption : String,
buttons : ExceptionMessageBoxButtons,
symbol : ExceptionMessageBoxSymbol,
defaultButton : ExceptionMessageBoxDefaultButton,
options : ExceptionMessageBoxOptions
)
Parameters
- text
Typ: System. . :: . .String
Błąd tekst wiadomości najwyższego poziom.
- caption
Typ: System. . :: . .String
Okno dialogowe Podpis pola okna komunikatu wyjątek.
- buttons
Typ: Microsoft.NetEnterpriseServers. . :: . .ExceptionMessageBoxButtons
ExceptionMessageBoxButtons Wyliczanie określająca przycisków wyświetlanych w oknie komunikatu wyjątek.
- symbol
Typ: Microsoft.NetEnterpriseServers. . :: . .ExceptionMessageBoxSymbol
ExceptionMessageBoxSymbol Wyliczanie określająca symbol do wyświetlenia w polu komunikat o wyjątku.
- defaultButton
Typ: Microsoft.NetEnterpriseServers. . :: . .ExceptionMessageBoxDefaultButton
ExceptionMessageBoxDefaultButton Wyliczanie określająca domyślnego przycisku w oknie komunikatu wyjątek.
- options
Typ: Microsoft.NetEnterpriseServers. . :: . .ExceptionMessageBoxOptions
ExceptionMessageBoxOptions Wyliczenie steruje zachowania innych komunikat wyjątku.