ExceptionMessageBox 构造函数 (Exception, ExceptionMessageBoxButtons)
后续版本的 Microsoft SQL Server 将删除该功能。请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。 Use #ctor(Exception, ExceptionMesageBoxButtons) instead.
命名空间: Microsoft.NetEnterpriseServers
程序集: Microsoft.NetEnterpriseServers.ExceptionMessageBox(在 Microsoft.NetEnterpriseServers.ExceptionMessageBox.dll 中)
语法
声明
Public Sub New ( _
exception As Exception, _
buttons As ExceptionMessageBoxButtons _
)
用法
Dim exception As Exception
Dim buttons As ExceptionMessageBoxButtons
Dim instance As New ExceptionMessageBox(exception, _
buttons)
public ExceptionMessageBox(
Exception exception,
ExceptionMessageBoxButtons buttons
)
public:
ExceptionMessageBox(
Exception^ exception,
ExceptionMessageBoxButtons buttons
)
new :
exception:Exception *
buttons:ExceptionMessageBoxButtons -> ExceptionMessageBox
public function ExceptionMessageBox(
exception : Exception,
buttons : ExceptionMessageBoxButtons
)
参数
- exception
类型: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
类型:Microsoft.NetEnterpriseServers. . :: . .ExceptionMessageBoxButtons
ExceptionMessageBoxButtons enumeration that specifies the buttons to display in the message box.