此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Initializes a new instance of the ReplicationAgentContainerWithWatsonException class with specified message and inner exception.
命名空间: 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
)
参数
- message
类型:System.String
The message.
- innerException
类型:System.Exception
The inner exception
请参阅
参考
ReplicationAgentContainerWithWatsonException 类