ExceptionMessageBox 构造函数 (String, String, ExceptionMessageBoxButtons)

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

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

语法

声明
Public Sub New ( _
    text As String, _
    caption As String, _
    buttons As ExceptionMessageBoxButtons _
)
用法
Dim text As String
Dim caption As String
Dim buttons As ExceptionMessageBoxButtons

Dim instance As New ExceptionMessageBox(text, caption, _
    buttons)
public ExceptionMessageBox(
    string text,
    string caption,
    ExceptionMessageBoxButtons buttons
)
public:
ExceptionMessageBox(
    String^ text, 
    String^ caption, 
    ExceptionMessageBoxButtons buttons
)
new : 
        text:string * 
        caption:string * 
        buttons:ExceptionMessageBoxButtons -> ExceptionMessageBox
public function ExceptionMessageBox(
    text : String, 
    caption : String, 
    buttons : ExceptionMessageBoxButtons
)

参数