共用方式為


ReplicationAgentException Constructor (String)

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

命名空間: Microsoft.SqlServer.Replication
組件: Microsoft.SqlServer.Replication (in microsoft.sqlserver.replication.dll)

語法

'宣告
Public Sub New ( _
    message As String _
)
public ReplicationAgentException (
    string message
)
public:
ReplicationAgentException (
    String^ message
)
public ReplicationAgentException (
    String message
)
public function ReplicationAgentException (
    message : String
)

參數

  • message
    A message that describes the error.

備註

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

Property

Value

InnerException

A null reference.

Message

The error message string.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

ReplicationAgentException Class
ReplicationAgentException Members
Microsoft.SqlServer.Replication Namespace