共用方式為


ExceptionMessageBox 建構函式 (String, String)

Creates an instance of ExceptionMessageBox with the supplied top-level error message text and the dialog box caption of the exception message box.

命名空間:  Microsoft.SqlServer.MessageBox
組件:  Microsoft.ExceptionMessageBox (在 Microsoft.ExceptionMessageBox.dll 中)

語法

'宣告
Public Sub New ( _
    text As String, _
    caption As String _
)
'用途
Dim text As String 
Dim caption As String 

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

參數

  • text
    型別:System.String
    Error text of the top-level message.
  • caption
    型別:System.String
    Caption of the exception message box.

請參閱

參考

ExceptionMessageBox 類別

ExceptionMessageBox 多載

Microsoft.SqlServer.MessageBox 命名空間