Constructeur ExceptionMessageBox (Exception, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton, ExceptionMessageBoxOptions)
Cette fonctionnalité sera supprimée dans une prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement et prévoyez de modifier les applications qui utilisent actuellement cette fonctionnalité. Use ExceptionMessageBox instead.
Espace de noms : Microsoft.NetEnterpriseServers
Assembly : Microsoft.NetEnterpriseServers.ExceptionMessageBox (en Microsoft.NetEnterpriseServers.ExceptionMessageBox.dll)
Syntaxe
'Déclaration
Public Sub New ( _
exception As Exception, _
buttons As ExceptionMessageBoxButtons, _
symbol As ExceptionMessageBoxSymbol, _
defaultButton As ExceptionMessageBoxDefaultButton, _
options As ExceptionMessageBoxOptions _
)
'Utilisation
Dim exception As Exception
Dim buttons As ExceptionMessageBoxButtons
Dim symbol As ExceptionMessageBoxSymbol
Dim defaultButton As ExceptionMessageBoxDefaultButton
Dim options As ExceptionMessageBoxOptions
Dim instance As New ExceptionMessageBox(exception, _
buttons, symbol, defaultButton, options)
public ExceptionMessageBox(
Exception exception,
ExceptionMessageBoxButtons buttons,
ExceptionMessageBoxSymbol symbol,
ExceptionMessageBoxDefaultButton defaultButton,
ExceptionMessageBoxOptions options
)
public:
ExceptionMessageBox(
Exception^ exception,
ExceptionMessageBoxButtons buttons,
ExceptionMessageBoxSymbol symbol,
ExceptionMessageBoxDefaultButton defaultButton,
ExceptionMessageBoxOptions options
)
new :
exception:Exception *
buttons:ExceptionMessageBoxButtons *
symbol:ExceptionMessageBoxSymbol *
defaultButton:ExceptionMessageBoxDefaultButton *
options:ExceptionMessageBoxOptions -> ExceptionMessageBox
public function ExceptionMessageBox(
exception : Exception,
buttons : ExceptionMessageBoxButtons,
symbol : ExceptionMessageBoxSymbol,
defaultButton : ExceptionMessageBoxDefaultButton,
options : ExceptionMessageBoxOptions
)
Paramètres
- exception
Type : System. . :: . .Exception
Exception that contains the top-level text, inner exception text, caption, data, help link, and optional additional information to display in the exception message box.
- buttons
Type : Microsoft.NetEnterpriseServers. . :: . .ExceptionMessageBoxButtons
ExceptionMessageBoxButtons enumeration that specifies the buttons to display in the exception message box.
- symbol
Type : Microsoft.NetEnterpriseServers. . :: . .ExceptionMessageBoxSymbol
ExceptionMessageBoxSymbol enumeration that specifies the symbol to display in the exception message box.
- defaultButton
Type : Microsoft.NetEnterpriseServers. . :: . .ExceptionMessageBoxDefaultButton
ExceptionMessageBoxDefaultButton enumeration that specifies the default button for the exception message box.
- options
Type : Microsoft.NetEnterpriseServers. . :: . .ExceptionMessageBoxOptions
The ExceptionMessageBoxOptions enumeration that controls other behaviors of the exception message box.