NativeSqlConnectionException Constructor (String)
Creates a new instance of the NativeSqlConnectionException class with a specified error message.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)
Syntax
'Declaration
Public Sub New ( _
message As String _
)
'Usage
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
)
Parameters
- message
Type: System.String
A message that describes the error.
Remarks
The following table shows the initial property values for an instance of NativeSqlConnectionException.
Property |
Value |
---|---|
A null reference. |
|
The error message string. |