Share via


NativeSqlConnectionException Constructor

Creates a new instance of the NativeSqlConnectionException class.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

Syntax

'Declaration
Public Sub New
'Usage

Dim instance As New NativeSqlConnectionException()
public NativeSqlConnectionException()
public:
NativeSqlConnectionException()
new : unit -> NativeSqlConnectionException
public function NativeSqlConnectionException()

Remarks

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.