ConnectionErrorEventArgs(Exception) 建構函式

定義

初始化該類別的新實例 ConnectionErrorEventArgs ,並設定指定的例外參數。

public:
 ConnectionErrorEventArgs(Exception ^ exception);
public ConnectionErrorEventArgs(Exception exception);
new Microsoft.SqlServer.Management.UI.ConnectionDlg.ConnectionErrorEventArgs : Exception -> Microsoft.SqlServer.Management.UI.ConnectionDlg.ConnectionErrorEventArgs
Public Sub New (exception As Exception)

參數

exception
Exception

當錯誤發生時拋出的例外。

適用於