Partager via


Constructeur NativeSqlConnectionException (String)

Creates a new instance of the NativeSqlConnectionException class with a specified error message.

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Replication (en Microsoft.SqlServer.Replication.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    message As String _
)
'Utilisation
Dim message As String 

Dim instance As New NativeSqlConnectionException(message)
public NativeSqlConnectionException(
    string message
)
public:
NativeSqlConnectionException(
    String^ message
)
new : 
        message:string -> NativeSqlConnectionException
public function NativeSqlConnectionException(
    message : String
)

Paramètres

  • message
    Type : System.String
    A message that describes the error.

Notes

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

Property

Value

InnerException

A null reference.

Message

The error message string.

Voir aussi

Référence

NativeSqlConnectionException Classe

Surcharge NativeSqlConnectionException

Espace de noms Microsoft.SqlServer.Replication