Creates a new instance of the NativeSqlConnectionException class with a specified error message.
命名空间: Microsoft.SqlServer.Replication
程序集: Microsoft.SqlServer.Replication(在 Microsoft.SqlServer.Replication.dll 中)
语法
声明
Public Sub New ( _
message As String _
)
用法
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
)
参数
- message
类型:System.String
A message that describes the error.
注释
The following table shows the initial property values for an instance of NativeSqlConnectionException.
Property |
Value |
---|---|
A null reference. |
|
The error message string. |
请参阅
参考
NativeSqlConnectionException 类