ConnectionNotSetException 构造函数 (Exception)

Initializes an instance of the ConnectionNotSetException class when there was an inner exception that caused this exception.

命名空间:  Microsoft.SqlServer.Management.Dac
程序集:  Microsoft.SqlServer.Management.Dac(在 Microsoft.SqlServer.Management.Dac.dll 中)

语法

声明
Public Sub New ( _
    innerException As Exception _
)
用法
Dim innerException As Exception

Dim instance As New ConnectionNotSetException(innerException)
public ConnectionNotSetException(
    Exception innerException
)
public:
ConnectionNotSetException(
    Exception^ innerException
)
new : 
        innerException:Exception -> ConnectionNotSetException
public function ConnectionNotSetException(
    innerException : Exception
)

参数

注释

This constructor initializes the object with the inner exception that caused this exception.