ExceptionMessageBox 构造函数 (Exception)

后续版本的 Microsoft SQL Server 将删除该功能。请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。 Use ExceptionMessageBox instead.

命名空间:  Microsoft.NetEnterpriseServers
程序集:  Microsoft.NetEnterpriseServers.ExceptionMessageBox(在 Microsoft.NetEnterpriseServers.ExceptionMessageBox.dll 中)

语法

声明
Public Sub New ( _
    exception As Exception _
)
用法
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
)

参数

  • exception
    类型: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.