Dela via


ExceptionMessageBox Constructor (Exception)

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 _
)
'Usage
Dim exception As Exception

Dim instance As New ExceptionMessageBox(exception)
public ExceptionMessageBox(
    Exception exception
)
public:
ExceptionMessageBox(
    Exception^ exception
)
new : 
        exception:Exception -> ExceptionMessageBox
public function ExceptionMessageBox(
    exception : Exception
)

Parameters

  • exception
    Type: System.Exception
    A 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.