ConnectionFailureException 构造函数 (String)

Initializes a new instance of the ConnectionFailureException 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 ConnectionFailureException(message)
public ConnectionFailureException(
    string message
)
public:
ConnectionFailureException(
    String^ message
)
new : 
        message:string -> ConnectionFailureException
public function ConnectionFailureException(
    message : String
)

参数

  • message
    类型:System.String
    A message that describes the error.

注释

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

Property

Value

InnerException

A null reference (Nothing in Microsoft Visual Basic).

Message

The error message string.

请参阅

参考

ConnectionFailureException 类

ConnectionFailureException 重载

Microsoft.SqlServer.Replication 命名空间