NativeSqlConnectionException Constructor (String)
Creates a new instance of the NativeSqlConnectionException class with a specified error message.
Espacio de nombres: Microsoft.SqlServer.Replication
Ensamblado: Microsoft.SqlServer.Replication (en Microsoft.SqlServer.Replication.dll)
Sintaxis
'Declaración
Public Sub New ( _
message As String _
)
'Uso
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
)
Parámetros
- message
Tipo: System. . :: . .String
A message that describes the error.
Notas
The following table shows the initial property values for an instance of NativeSqlConnectionException.
Property |
Value |
|---|---|
A null reference. |
|
The error message string. |