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

在出错时引发的异常。

适用于