CollectorException 類別
The CollectorException class is the base class for all data collector exceptions.
繼承階層
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() | Creates an instance of the exception. | |
CollectorException(String) | The error message. | |
CollectorException(SerializationInfo, StreamingContext) | Instantiates an instance of the CollectorException class, passing info and context as parameters. | |
CollectorException(String, Exception) | Creates a collection object and passes the error message and the exception that is causing the error. |
上層
屬性
名稱 | 說明 | |
---|---|---|
Data | (繼承自 Exception。) | |
HelpLink | Gets the link to the Microsoft SQL Server help web site based on the exception. (覆寫 Exception.HelpLink。) | |
HResult | (繼承自 Exception。) | |
InnerException | (繼承自 Exception。) | |
Message | (繼承自 Exception。) | |
ProdVer | Gets the version of the product. | |
Source | (繼承自 Exception。) | |
StackTrace | (繼承自 Exception。) | |
TargetSite | (繼承自 Exception。) |
上層
方法
名稱 | 說明 | |
---|---|---|
Equals | (繼承自 Object。) | |
Finalize | (繼承自 Object。) | |
GetBaseException | (繼承自 Exception。) | |
GetHashCode | (繼承自 Object。) | |
GetObjectData | 安全性關鍵。 (繼承自 Exception。) | |
GetType | (繼承自 Exception。) | |
MemberwiseClone | (繼承自 Object。) | |
SetHelpContext | Sets the help context based on the resource string that is passed. | |
ToString | (繼承自 Exception。) |
上層
事件
名稱 | 說明 | |
---|---|---|
SerializeObjectState | (繼承自 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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。