ExceptionMessageBox Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überladener Konstruktor für ExceptionMessageBox.
Überlädt
| ExceptionMessageBox() |
Erstellt eine ExceptionMessageBox-Instanz mit den Standardeigenschaften. |
| ExceptionMessageBox(Exception) |
Erstellt unter Verwendung von Informationen aus der angegebenen ExceptionMessageBox eine Exception-Instanz. |
| ExceptionMessageBox(String) |
Erstellt eine ExceptionMessageBox-Instanz mit dem angegebenen Fehlermeldungstext der obersten Ebene. |
| ExceptionMessageBox(Exception, ExceptionMessageBoxButtons) |
Erstellt eine ExceptionMessageBox-Instanz, indem Informationen aus der angegebenen Exception verwendet und die Schaltflächen angegeben werden, die im Meldungsfeld angezeigt werden. |
| ExceptionMessageBox(String, String) |
Erstellt eine Instanz mit ExceptionMessageBox dem angegebenen Fehlermeldungstext auf oberster Ebene und der Beschriftung des Dialogfelds des Ausnahmemeldungsfelds. |
| ExceptionMessageBox(Exception, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol) |
Erstellt eine ExceptionMessageBox-Instanz, indem Informationen aus der angegebenen Exception verwendet und die Schaltflächen sowie das Symbol angegeben werden, die im Meldungsfeld angezeigt werden. |
| ExceptionMessageBox(String, String, ExceptionMessageBoxButtons) |
Erstellt eine Instanz mit ExceptionMessageBox dem angegebenen Fehlermeldungstext auf oberster Ebene und der Beschriftung des Dialogfelds des Ausnahmemeldungsfelds. Die Methode gibt auch die im Ausnahmemeldungsfeld anzuzeigenden Schaltflächen an. |
| ExceptionMessageBox(Exception, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton) |
Erstellt eine ExceptionMessageBox-Instanz, indem Informationen aus der angegebenen Exception verwendet und die Schaltflächen, das Symbol und die Standardschaltfläche angegeben werden, die im Ausnahmemeldungsfeld angezeigt werden. . |
| ExceptionMessageBox(String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol) |
Erstellt eine ExceptionMessageBox-Instanz unter Verwendung des angegebenen Fehlermeldungstexts der obersten Ebene und der Dialogfeldbeschriftung des Ausnahmemeldungsfelds. Die Methode gibt auch die Schaltflächen und das Symbol an, die im Ausnahmemeldungsfeld angezeigt werden. |
| ExceptionMessageBox(Exception, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton, ExceptionMessageBoxOptions) |
Erstellt eine ExceptionMessageBox-Instanz, indem Informationen aus der angegebenen Exception verwendet und die Schaltflächen, das Symbol, die Standardschaltfläche und weitere Eigenschaften angegeben werden, die im Ausnahmemeldungsfeld angezeigt werden. |
| ExceptionMessageBox(String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton) |
Erstellt eine ExceptionMessageBox-Instanz unter Verwendung des angegebenen Fehlermeldungstexts der obersten Ebene und der Dialogfeldbeschriftung des Meldungsfelds. Die Methode gibt auch die Schaltflächen, das Symbol und die Standardschaltfläche an, die im Ausnahmemeldungsfeld angezeigt werden. |
| ExceptionMessageBox(String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton, ExceptionMessageBoxOptions) |
Erstellt eine ExceptionMessageBox-Instanz unter Verwendung des angegebenen Fehlermeldungstexts der obersten Ebene und der Dialogfeldbeschriftung des Meldungsfelds. Die Methode gibt auch die Schaltflächen, das Symbol, die Standardschaltfläche und die Dialogfeldoptionen an, die im Ausnahmemeldungsfeld angezeigt werden sollen. |
ExceptionMessageBox()
Erstellt eine ExceptionMessageBox-Instanz mit den Standardeigenschaften.
public:
ExceptionMessageBox();
public ExceptionMessageBox ();
Public Sub New ()
Gilt für:
ExceptionMessageBox(Exception)
Erstellt unter Verwendung von Informationen aus der angegebenen ExceptionMessageBox eine Exception-Instanz.
public:
ExceptionMessageBox(Exception ^ exception);
public ExceptionMessageBox (Exception exception);
new Microsoft.SqlServer.MessageBox.ExceptionMessageBox : Exception -> Microsoft.SqlServer.MessageBox.ExceptionMessageBox
Public Sub New (exception As Exception)
Parameter
- exception
- Exception
Exception mit Text auf oberster Ebene, innerem Ausnahmetext, Beschriftung, Daten, Hilfelinks und optionalen zusätzlichen Informationen, die im Ausnahmemeldungsfeld angezeigt werden sollen.
Beispiele
try
{
// Do something that may generate an exception.
throw new ApplicationException("An error has occured");
}
catch (ApplicationException ex)
{
// Define a new top-level error message.
string str = "The action failed.";
// Add the new top-level message to the handled exception.
ApplicationException exTop = new ApplicationException(str, ex);
exTop.Source = this.Text;
// Show an exception message box with an OK button (the default).
ExceptionMessageBox box = new ExceptionMessageBox(exTop);
box.Show(this);
}
Try
' Do something that may generate an exception.
Throw New ApplicationException("An error has occured")
Catch ex As ApplicationException
' Define a new top-level error message.
Dim str As String = "The action failed."
' Add the new top-level message to the handled exception.
Dim exTop As ApplicationException = New ApplicationException(str, ex)
exTop.Source = Me.Text
' Show an exception message box with an OK button (the default).
Dim box As ExceptionMessageBox = New ExceptionMessageBox(exTop)
box.Show(Me)
End Try
Gilt für:
ExceptionMessageBox(String)
Erstellt eine ExceptionMessageBox-Instanz mit dem angegebenen Fehlermeldungstext der obersten Ebene.
public:
ExceptionMessageBox(System::String ^ text);
public ExceptionMessageBox (string text);
new Microsoft.SqlServer.MessageBox.ExceptionMessageBox : string -> Microsoft.SqlServer.MessageBox.ExceptionMessageBox
Public Sub New (text As String)
Parameter
- text
- String
Fehlertext der Meldung auf oberster Ebene.
Gilt für:
ExceptionMessageBox(Exception, ExceptionMessageBoxButtons)
Erstellt eine ExceptionMessageBox-Instanz, indem Informationen aus der angegebenen Exception verwendet und die Schaltflächen angegeben werden, die im Meldungsfeld angezeigt werden.
public:
ExceptionMessageBox(Exception ^ exception, Microsoft::SqlServer::MessageBox::ExceptionMessageBoxButtons buttons);
public ExceptionMessageBox (Exception exception, Microsoft.SqlServer.MessageBox.ExceptionMessageBoxButtons buttons);
new Microsoft.SqlServer.MessageBox.ExceptionMessageBox : Exception * Microsoft.SqlServer.MessageBox.ExceptionMessageBoxButtons -> Microsoft.SqlServer.MessageBox.ExceptionMessageBox
Public Sub New (exception As Exception, buttons As ExceptionMessageBoxButtons)
Parameter
- exception
- Exception
Exception mit Text auf oberster Ebene, innerem Ausnahmetext, Beschriftung, Daten, Hilfelinks und optionalen zusätzlichen Informationen, die im Ausnahmemeldungsfeld angezeigt werden sollen.
- buttons
- ExceptionMessageBoxButtons
ExceptionMessageBoxButtons-Enumeration, die die Schaltflächen für die Anzeige im Meldungsfeld angibt.
Gilt für:
ExceptionMessageBox(String, String)
Erstellt eine Instanz mit ExceptionMessageBox dem angegebenen Fehlermeldungstext auf oberster Ebene und der Beschriftung des Dialogfelds des Ausnahmemeldungsfelds.
public:
ExceptionMessageBox(System::String ^ text, System::String ^ caption);
public ExceptionMessageBox (string text, string caption);
new Microsoft.SqlServer.MessageBox.ExceptionMessageBox : string * string -> Microsoft.SqlServer.MessageBox.ExceptionMessageBox
Public Sub New (text As String, caption As String)
Parameter
- text
- String
Fehlertext der Meldung auf oberster Ebene.
- caption
- String
Beschriftung des Ausnahmemeldungsfelds.
Gilt für:
ExceptionMessageBox(Exception, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol)
Erstellt eine ExceptionMessageBox-Instanz, indem Informationen aus der angegebenen Exception verwendet und die Schaltflächen sowie das Symbol angegeben werden, die im Meldungsfeld angezeigt werden.
public:
ExceptionMessageBox(Exception ^ exception, Microsoft::SqlServer::MessageBox::ExceptionMessageBoxButtons buttons, Microsoft::SqlServer::MessageBox::ExceptionMessageBoxSymbol symbol);
public ExceptionMessageBox (Exception exception, Microsoft.SqlServer.MessageBox.ExceptionMessageBoxButtons buttons, Microsoft.SqlServer.MessageBox.ExceptionMessageBoxSymbol symbol);
new Microsoft.SqlServer.MessageBox.ExceptionMessageBox : Exception * Microsoft.SqlServer.MessageBox.ExceptionMessageBoxButtons * Microsoft.SqlServer.MessageBox.ExceptionMessageBoxSymbol -> Microsoft.SqlServer.MessageBox.ExceptionMessageBox
Public Sub New (exception As Exception, buttons As ExceptionMessageBoxButtons, symbol As ExceptionMessageBoxSymbol)
Parameter
- exception
- Exception
Exception mit Text auf oberster Ebene, innerem Ausnahmetext, Beschriftung, Daten, Hilfelinks und optionalen zusätzlichen Informationen, die im Ausnahmemeldungsfeld angezeigt werden sollen.
- buttons
- ExceptionMessageBoxButtons
ExceptionMessageBoxButtons-Enumeration, die die Schaltflächen für die Anzeige im Ausnahmemeldungsfeld angibt.
- symbol
- ExceptionMessageBoxSymbol
ExceptionMessageBoxSymbol-Enumeration, die das Symbol für die Anzeige im Ausnahmemeldungsfeld angibt.
Gilt für:
ExceptionMessageBox(String, String, ExceptionMessageBoxButtons)
Erstellt eine Instanz mit ExceptionMessageBox dem angegebenen Fehlermeldungstext auf oberster Ebene und der Beschriftung des Dialogfelds des Ausnahmemeldungsfelds. Die Methode gibt auch die im Ausnahmemeldungsfeld anzuzeigenden Schaltflächen an.
public:
ExceptionMessageBox(System::String ^ text, System::String ^ caption, Microsoft::SqlServer::MessageBox::ExceptionMessageBoxButtons buttons);
public ExceptionMessageBox (string text, string caption, Microsoft.SqlServer.MessageBox.ExceptionMessageBoxButtons buttons);
new Microsoft.SqlServer.MessageBox.ExceptionMessageBox : string * string * Microsoft.SqlServer.MessageBox.ExceptionMessageBoxButtons -> Microsoft.SqlServer.MessageBox.ExceptionMessageBox
Public Sub New (text As String, caption As String, buttons As ExceptionMessageBoxButtons)
Parameter
- text
- String
Fehlertext der Meldung auf oberster Ebene.
- caption
- String
Beschriftung des Ausnahmemeldungsfelds.
- buttons
- ExceptionMessageBoxButtons
ExceptionMessageBoxButtons-Enumeration, die die Schaltflächen für die Anzeige im Ausnahmemeldungsfeld angibt.
Gilt für:
ExceptionMessageBox(Exception, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton)
Erstellt eine ExceptionMessageBox-Instanz, indem Informationen aus der angegebenen Exception verwendet und die Schaltflächen, das Symbol und die Standardschaltfläche angegeben werden, die im Ausnahmemeldungsfeld angezeigt werden. .
public:
ExceptionMessageBox(Exception ^ exception, Microsoft::SqlServer::MessageBox::ExceptionMessageBoxButtons buttons, Microsoft::SqlServer::MessageBox::ExceptionMessageBoxSymbol symbol, Microsoft::SqlServer::MessageBox::ExceptionMessageBoxDefaultButton defaultButton);
public ExceptionMessageBox (Exception exception, Microsoft.SqlServer.MessageBox.ExceptionMessageBoxButtons buttons, Microsoft.SqlServer.MessageBox.ExceptionMessageBoxSymbol symbol, Microsoft.SqlServer.MessageBox.ExceptionMessageBoxDefaultButton defaultButton);
new Microsoft.SqlServer.MessageBox.ExceptionMessageBox : Exception * Microsoft.SqlServer.MessageBox.ExceptionMessageBoxButtons * Microsoft.SqlServer.MessageBox.ExceptionMessageBoxSymbol * Microsoft.SqlServer.MessageBox.ExceptionMessageBoxDefaultButton -> Microsoft.SqlServer.MessageBox.ExceptionMessageBox
Public Sub New (exception As Exception, buttons As ExceptionMessageBoxButtons, symbol As ExceptionMessageBoxSymbol, defaultButton As ExceptionMessageBoxDefaultButton)
Parameter
- exception
- Exception
Exception mit Text auf oberster Ebene, innerem Ausnahmetext, Beschriftung, Daten, Hilfelinks und optionalen zusätzlichen Informationen, die im Ausnahmemeldungsfeld angezeigt werden sollen.
- buttons
- ExceptionMessageBoxButtons
ExceptionMessageBoxButtons-Enumeration, die die Schaltflächen für die Anzeige im Ausnahmemeldungsfeld angibt.
- symbol
- ExceptionMessageBoxSymbol
ExceptionMessageBoxSymbol-Enumeration, die das Symbol für die Anzeige im Ausnahmemeldungsfeld angibt.
- defaultButton
- ExceptionMessageBoxDefaultButton
ExceptionMessageBoxDefaultButton-Enumeration, die die Standardschaltfläche für das Ausnahmemeldungsfeld angibt.
Gilt für:
ExceptionMessageBox(String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol)
Erstellt eine ExceptionMessageBox-Instanz unter Verwendung des angegebenen Fehlermeldungstexts der obersten Ebene und der Dialogfeldbeschriftung des Ausnahmemeldungsfelds. Die Methode gibt auch die Schaltflächen und das Symbol an, die im Ausnahmemeldungsfeld angezeigt werden.
public:
ExceptionMessageBox(System::String ^ text, System::String ^ caption, Microsoft::SqlServer::MessageBox::ExceptionMessageBoxButtons buttons, Microsoft::SqlServer::MessageBox::ExceptionMessageBoxSymbol symbol);
public ExceptionMessageBox (string text, string caption, Microsoft.SqlServer.MessageBox.ExceptionMessageBoxButtons buttons, Microsoft.SqlServer.MessageBox.ExceptionMessageBoxSymbol symbol);
new Microsoft.SqlServer.MessageBox.ExceptionMessageBox : string * string * Microsoft.SqlServer.MessageBox.ExceptionMessageBoxButtons * Microsoft.SqlServer.MessageBox.ExceptionMessageBoxSymbol -> Microsoft.SqlServer.MessageBox.ExceptionMessageBox
Public Sub New (text As String, caption As String, buttons As ExceptionMessageBoxButtons, symbol As ExceptionMessageBoxSymbol)
Parameter
- text
- String
Fehlertext der Meldung auf oberster Ebene.
- caption
- String
Dialogfeldbeschriftung des Ausnahmemeldungsfelds.
- buttons
- ExceptionMessageBoxButtons
ExceptionMessageBoxButtons-Enumeration, die die Schaltflächen für die Anzeige im Ausnahmemeldungsfeld angibt.
- symbol
- ExceptionMessageBoxSymbol
ExceptionMessageBoxSymbol-Enumeration, die das Symbol für die Anzeige im Ausnahmemeldungsfeld angibt.
Gilt für:
ExceptionMessageBox(Exception, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton, ExceptionMessageBoxOptions)
Erstellt eine ExceptionMessageBox-Instanz, indem Informationen aus der angegebenen Exception verwendet und die Schaltflächen, das Symbol, die Standardschaltfläche und weitere Eigenschaften angegeben werden, die im Ausnahmemeldungsfeld angezeigt werden.
public:
ExceptionMessageBox(Exception ^ exception, Microsoft::SqlServer::MessageBox::ExceptionMessageBoxButtons buttons, Microsoft::SqlServer::MessageBox::ExceptionMessageBoxSymbol symbol, Microsoft::SqlServer::MessageBox::ExceptionMessageBoxDefaultButton defaultButton, Microsoft::SqlServer::MessageBox::ExceptionMessageBoxOptions options);
public ExceptionMessageBox (Exception exception, Microsoft.SqlServer.MessageBox.ExceptionMessageBoxButtons buttons, Microsoft.SqlServer.MessageBox.ExceptionMessageBoxSymbol symbol, Microsoft.SqlServer.MessageBox.ExceptionMessageBoxDefaultButton defaultButton, Microsoft.SqlServer.MessageBox.ExceptionMessageBoxOptions options);
new Microsoft.SqlServer.MessageBox.ExceptionMessageBox : Exception * Microsoft.SqlServer.MessageBox.ExceptionMessageBoxButtons * Microsoft.SqlServer.MessageBox.ExceptionMessageBoxSymbol * Microsoft.SqlServer.MessageBox.ExceptionMessageBoxDefaultButton * Microsoft.SqlServer.MessageBox.ExceptionMessageBoxOptions -> Microsoft.SqlServer.MessageBox.ExceptionMessageBox
Public Sub New (exception As Exception, buttons As ExceptionMessageBoxButtons, symbol As ExceptionMessageBoxSymbol, defaultButton As ExceptionMessageBoxDefaultButton, options As ExceptionMessageBoxOptions)
Parameter
- exception
- Exception
Exception mit Text auf oberster Ebene, innerem Ausnahmetext, Beschriftung, Daten, Hilfelinks und optionalen zusätzlichen Informationen, die im Ausnahmemeldungsfeld angezeigt werden sollen.
- buttons
- ExceptionMessageBoxButtons
ExceptionMessageBoxButtons-Enumeration, die die Schaltflächen für die Anzeige im Ausnahmemeldungsfeld angibt.
- symbol
- ExceptionMessageBoxSymbol
ExceptionMessageBoxSymbol-Enumeration, die das Symbol für die Anzeige im Ausnahmemeldungsfeld angibt.
- defaultButton
- ExceptionMessageBoxDefaultButton
ExceptionMessageBoxDefaultButton-Enumeration, die die Standardschaltfläche für das Ausnahmemeldungsfeld angibt.
- options
- ExceptionMessageBoxOptions
Die ExceptionMessageBoxOptions-Enumeration, die andere Verhalten des Ausnahmemeldungsfelds steuert.
Gilt für:
ExceptionMessageBox(String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton)
Erstellt eine ExceptionMessageBox-Instanz unter Verwendung des angegebenen Fehlermeldungstexts der obersten Ebene und der Dialogfeldbeschriftung des Meldungsfelds. Die Methode gibt auch die Schaltflächen, das Symbol und die Standardschaltfläche an, die im Ausnahmemeldungsfeld angezeigt werden.
public:
ExceptionMessageBox(System::String ^ text, System::String ^ caption, Microsoft::SqlServer::MessageBox::ExceptionMessageBoxButtons buttons, Microsoft::SqlServer::MessageBox::ExceptionMessageBoxSymbol symbol, Microsoft::SqlServer::MessageBox::ExceptionMessageBoxDefaultButton defaultButton);
public ExceptionMessageBox (string text, string caption, Microsoft.SqlServer.MessageBox.ExceptionMessageBoxButtons buttons, Microsoft.SqlServer.MessageBox.ExceptionMessageBoxSymbol symbol, Microsoft.SqlServer.MessageBox.ExceptionMessageBoxDefaultButton defaultButton);
new Microsoft.SqlServer.MessageBox.ExceptionMessageBox : string * string * Microsoft.SqlServer.MessageBox.ExceptionMessageBoxButtons * Microsoft.SqlServer.MessageBox.ExceptionMessageBoxSymbol * Microsoft.SqlServer.MessageBox.ExceptionMessageBoxDefaultButton -> Microsoft.SqlServer.MessageBox.ExceptionMessageBox
Public Sub New (text As String, caption As String, buttons As ExceptionMessageBoxButtons, symbol As ExceptionMessageBoxSymbol, defaultButton As ExceptionMessageBoxDefaultButton)
Parameter
- text
- String
Fehlertext der Meldung auf oberster Ebene.
- caption
- String
Dialogfeldbeschriftung des Ausnahmemeldungsfelds.
- buttons
- ExceptionMessageBoxButtons
ExceptionMessageBoxButtons-Enumeration, die die Schaltflächen für die Anzeige im Ausnahmemeldungsfeld angibt.
- symbol
- ExceptionMessageBoxSymbol
ExceptionMessageBoxSymbol-Enumeration, die das Symbol für die Anzeige im Ausnahmemeldungsfeld angibt.
- defaultButton
- ExceptionMessageBoxDefaultButton
ExceptionMessageBoxDefaultButton-Enumeration, die die Standardschaltfläche für das Ausnahmemeldungsfeld angibt.
Beispiele
// Define the message and caption to display.
string str = @"Are you sure you want to delete file 'c:\somefile.txt'?";
string caption = "Confirm File Deletion";
// Show the exception message box with Yes and No buttons.
ExceptionMessageBox box = new ExceptionMessageBox(str,
caption, ExceptionMessageBoxButtons.YesNo,
ExceptionMessageBoxSymbol.Question,
ExceptionMessageBoxDefaultButton.Button2);
if (DialogResult.Yes == box.Show(this))
{
// Delete the file.
}
' Define the message and caption to display.
Dim str As String = "Are you sure you want to delete file 'c:\somefile.txt'?"
Dim caption As String = "Confirm File Deletion"
' Show the exception message box with Yes and No buttons.
Dim box As ExceptionMessageBox = New ExceptionMessageBox(str, _
caption, ExceptionMessageBoxButtons.YesNo, _
ExceptionMessageBoxSymbol.Question, _
ExceptionMessageBoxDefaultButton.Button2)
If Windows.Forms.DialogResult.Yes = box.Show(Me) Then
' Delete the file.
End If
Gilt für:
ExceptionMessageBox(String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton, ExceptionMessageBoxOptions)
Erstellt eine ExceptionMessageBox-Instanz unter Verwendung des angegebenen Fehlermeldungstexts der obersten Ebene und der Dialogfeldbeschriftung des Meldungsfelds. Die Methode gibt auch die Schaltflächen, das Symbol, die Standardschaltfläche und die Dialogfeldoptionen an, die im Ausnahmemeldungsfeld angezeigt werden sollen.
public:
ExceptionMessageBox(System::String ^ text, System::String ^ caption, Microsoft::SqlServer::MessageBox::ExceptionMessageBoxButtons buttons, Microsoft::SqlServer::MessageBox::ExceptionMessageBoxSymbol symbol, Microsoft::SqlServer::MessageBox::ExceptionMessageBoxDefaultButton defaultButton, Microsoft::SqlServer::MessageBox::ExceptionMessageBoxOptions options);
public ExceptionMessageBox (string text, string caption, Microsoft.SqlServer.MessageBox.ExceptionMessageBoxButtons buttons, Microsoft.SqlServer.MessageBox.ExceptionMessageBoxSymbol symbol, Microsoft.SqlServer.MessageBox.ExceptionMessageBoxDefaultButton defaultButton, Microsoft.SqlServer.MessageBox.ExceptionMessageBoxOptions options);
new Microsoft.SqlServer.MessageBox.ExceptionMessageBox : string * string * Microsoft.SqlServer.MessageBox.ExceptionMessageBoxButtons * Microsoft.SqlServer.MessageBox.ExceptionMessageBoxSymbol * Microsoft.SqlServer.MessageBox.ExceptionMessageBoxDefaultButton * Microsoft.SqlServer.MessageBox.ExceptionMessageBoxOptions -> Microsoft.SqlServer.MessageBox.ExceptionMessageBox
Public Sub New (text As String, caption As String, buttons As ExceptionMessageBoxButtons, symbol As ExceptionMessageBoxSymbol, defaultButton As ExceptionMessageBoxDefaultButton, options As ExceptionMessageBoxOptions)
Parameter
- text
- String
Fehlertext der Meldung auf oberster Ebene.
- caption
- String
Dialogfeldbeschriftung des Ausnahmemeldungsfelds.
- buttons
- ExceptionMessageBoxButtons
ExceptionMessageBoxSymbol-Enumeration, die das Symbol für die Anzeige im Ausnahmemeldungsfeld angibt.
- symbol
- ExceptionMessageBoxSymbol
ExceptionMessageBoxSymbol-Enumeration, die das Symbol für die Anzeige im Ausnahmemeldungsfeld angibt.
- defaultButton
- ExceptionMessageBoxDefaultButton
ExceptionMessageBoxDefaultButton-Enumeration, die die Standardschaltfläche für das Ausnahmemeldungsfeld angibt.
- options
- ExceptionMessageBoxOptions
Die ExceptionMessageBoxOptions-Enumeration, die andere Verhalten des Ausnahmemeldungsfelds steuert.