ExceptionMessageBox Constructor (Exception, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol)
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Use ExceptionMessageBox instead.
Namespace: Microsoft.NetEnterpriseServers
Assembly: Microsoft.NetEnterpriseServers.ExceptionMessageBox (in Microsoft.NetEnterpriseServers.ExceptionMessageBox.dll)
Syntax
'Declaration
Public Sub New ( _
exception As Exception, _
buttons As ExceptionMessageBoxButtons, _
symbol As ExceptionMessageBoxSymbol _
)
'Usage
Dim exception As Exception
Dim buttons As ExceptionMessageBoxButtons
Dim symbol As ExceptionMessageBoxSymbol
Dim instance As New ExceptionMessageBox(exception, _
buttons, symbol)
public ExceptionMessageBox(
Exception exception,
ExceptionMessageBoxButtons buttons,
ExceptionMessageBoxSymbol symbol
)
public:
ExceptionMessageBox(
Exception^ exception,
ExceptionMessageBoxButtons buttons,
ExceptionMessageBoxSymbol symbol
)
new :
exception:Exception *
buttons:ExceptionMessageBoxButtons *
symbol:ExceptionMessageBoxSymbol -> ExceptionMessageBox
public function ExceptionMessageBox(
exception : Exception,
buttons : ExceptionMessageBoxButtons,
symbol : ExceptionMessageBoxSymbol
)
Parameters
- 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.