ReplicationAgentContainerWithWatsonException 类
此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Represents the exception that is thrown when one or more errors are generated by a managed code-based replication agent using Watson.
继承层次结构
System.Object
System.Exception
Microsoft.SqlServer.Replication.ReplicationAgentException
Microsoft.SqlServer.Replication.ReplicationAgentContainerException
Microsoft.SqlServer.Replication.ReplicationAgentContainerWithWatsonException
命名空间: Microsoft.SqlServer.Replication
程序集: Microsoft.SqlServer.Replication(在 Microsoft.SqlServer.Replication.dll 中)
语法
声明
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public NotInheritable Class ReplicationAgentContainerWithWatsonException _
Inherits ReplicationAgentContainerException
用法
Dim instance As ReplicationAgentContainerWithWatsonException
[SerializableAttribute]
[ComVisibleAttribute(false)]
public sealed class ReplicationAgentContainerWithWatsonException : ReplicationAgentContainerException
[SerializableAttribute]
[ComVisibleAttribute(false)]
public ref class ReplicationAgentContainerWithWatsonException sealed : public ReplicationAgentContainerException
[<SealedAttribute>]
[<SerializableAttribute>]
[<ComVisibleAttribute(false)>]
type ReplicationAgentContainerWithWatsonException =
class
inherit ReplicationAgentContainerException
end
public final class ReplicationAgentContainerWithWatsonException extends ReplicationAgentContainerException
ReplicationAgentContainerWithWatsonException 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
ReplicationAgentContainerWithWatsonException() | Initializes a new instance of the ReplicationAgentContainerWithWatsonException class. | |
ReplicationAgentContainerWithWatsonException(String) | Initializes a new instance of the ReplicationAgentContainerWithWatsonException class with specified message. | |
ReplicationAgentContainerWithWatsonException(String, Exception) | Initializes a new instance of the ReplicationAgentContainerWithWatsonException class with specified message and inner exception. |
页首
属性
名称 | 说明 | |
---|---|---|
Data | (从 Exception 继承。) | |
ExceptionCollection | Gets the collection of exception objects returned by the replication agent. (从 ReplicationAgentContainerException 继承。) | |
FlatExceptionCollection | Gets the collection of exception objects accessed using the IEnumerable interface. (从 ReplicationAgentContainerException 继承。) | |
HelpLink | (从 Exception 继承。) | |
HResult | (从 Exception 继承。) | |
InnerException | (从 Exception 继承。) | |
Message | (从 Exception 继承。) | |
MessageCode | Gets the error code of the underlying error. (从 ReplicationAgentException 继承。) | |
Source | (从 Exception 继承。) | |
StackTrace | (从 Exception 继承。) | |
TargetSite | (从 Exception 继承。) |
页首
方法
名称 | 说明 | |
---|---|---|
Equals | (从 Object 继承。) | |
GetBaseException | (从 Exception 继承。) | |
GetHashCode | (从 Object 继承。) | |
GetObjectData | Sets the specified SerializationInfo with information about the exception. (从 ReplicationAgentContainerException 继承。) | |
GetType | (从 Exception 继承。) | |
ToString | (从 Exception 继承。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。