CollectorException 類別
CollectorException 類別是所有資料收集器例外狀況的基底類別。
繼承階層
System. . :: . .Object
System. . :: . .Exception
Microsoft.SqlServer.Management.Common. . :: . .SqlServerManagementException
Microsoft.SqlServer.Management.Collector..::..CollectorException
命名空間: Microsoft.SqlServer.Management.Collector
組件: Microsoft.SqlServer.Management.Collector (在 Microsoft.SqlServer.Management.Collector.dll 中)
語法
'宣告
<SerializableAttribute> _
Public Class CollectorException _
Inherits SqlServerManagementException
'用途
Dim instance As CollectorException
[SerializableAttribute]
public class CollectorException : SqlServerManagementException
[SerializableAttribute]
public ref class CollectorException : public SqlServerManagementException
[<SerializableAttribute>]
type CollectorException =
class
inherit SqlServerManagementException
end
public class CollectorException extends SqlServerManagementException
CollectorException 型別公開下列成員。
建構函式
| 名稱 | 說明 | |
|---|---|---|
![]() |
CollectorException() () () () | 建立例外狀況的執行個體。 |
![]() |
CollectorException(String) | 錯誤訊息。 |
![]() |
CollectorException(SerializationInfo, StreamingContext) | 具現化 CollectorException 類別的執行個體,並傳遞 info 和 context 做為參數。 |
![]() |
CollectorException(String, Exception) | 建立集合物件,並傳遞錯誤訊息以及造成錯誤的例外狀況。 |
上層
屬性
| 名稱 | 說明 | |
|---|---|---|
![]() |
Data | (繼承自 Exception。) |
![]() |
HelpLink | 根據例外狀況取得 Microsoft SQL Server 說明網站連結。 (覆寫 Exception. . :: . .HelpLink。) |
![]() |
HResult | (繼承自 Exception。) |
![]() |
InnerException | (繼承自 Exception。) |
![]() |
Message | (繼承自 Exception。) |
![]() ![]() |
ProdVer | 取得產品的版本。 |
![]() |
Source | (繼承自 Exception。) |
![]() |
StackTrace | (繼承自 Exception。) |
![]() |
TargetSite | (繼承自 Exception。) |
上層
方法
| 名稱 | 說明 | |
|---|---|---|
![]() |
Equals | (繼承自 Object。) |
![]() |
Finalize | (繼承自 Object。) |
![]() |
GetBaseException | (繼承自 Exception。) |
![]() |
GetHashCode | (繼承自 Object。) |
![]() |
GetObjectData | (繼承自 Exception。) |
![]() |
GetType | (繼承自 Exception。) |
![]() |
MemberwiseClone | (繼承自 Object。) |
![]() |
SetHelpContext | 根據傳遞的資源字串設定說明內容。 |
![]() |
ToString | (繼承自 Exception。) |
上層
備註
CollectorException inherits from SqlServerManagementException.
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。
.gif)
.gif)
.gif)
.gif)
.gif)