共用方式為


NativeSqlConnectionException 建構函式

Creates a new instance of the NativeSqlConnectionException class.

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

語法

'宣告
Public Sub New
'用途
Dim instance As New NativeSqlConnectionException()
public NativeSqlConnectionException()
public:
NativeSqlConnectionException()
new : unit -> NativeSqlConnectionException
public function NativeSqlConnectionException()

備註

This constructor initializes the Message property of the new instance to a system-supplied message that describes the error.

The following table shows the initial property values for an instance of NativeSqlConnectionException.

Property

Value

InnerException

A null reference.

Message

A system-supplied localized description.

請參閱

參考

NativeSqlConnectionException 類別

NativeSqlConnectionException 多載

Microsoft.SqlServer.Replication 命名空間