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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。