共用方式為


ReplicationAgentContainerWithWatsonException 建構 (String, Exception)

此 API 支援 .NET Framework 結構,但並不是針對直接從程式碼使用而設計。

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Replication (在 Microsoft.SqlServer.Replication.dll 中)

語法

'宣告
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
'用途
Dim message As String
Dim innerException As Exception

Dim instance As New ReplicationAgentContainerWithWatsonException(message, _
    innerException)
public ReplicationAgentContainerWithWatsonException(
    string message,
    Exception innerException
)
public:
ReplicationAgentContainerWithWatsonException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> ReplicationAgentContainerWithWatsonException
public function ReplicationAgentContainerWithWatsonException(
    message : String, 
    innerException : Exception
)

參數