CollectorException Class
The CollectorException class is the base class for all data collector exceptions.
Inheritance Hierarchy
System.Object
System.Exception
Microsoft.SqlServer.Management.Common.SqlServerManagementException
Microsoft.SqlServer.Management.Collector.CollectorException
Namespace: Microsoft.SqlServer.Management.Collector
Assembly: Microsoft.SqlServer.Management.Collector (in Microsoft.SqlServer.Management.Collector.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class CollectorException _
Inherits SqlServerManagementException
'Usage
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
The CollectorException type exposes the following members.
Constructors
Name | Description | |
---|---|---|
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. |
Top
Properties
Name | Description | |
---|---|---|
Data | (Inherited from Exception.) | |
HelpLink | Gets the link to the Microsoft SQL Server help web site based on the exception. (Overrides Exception.HelpLink.) | |
HResult | (Inherited from Exception.) | |
InnerException | (Inherited from Exception.) | |
Message | (Inherited from Exception.) | |
ProdVer | Gets the version of the product. | |
Source | (Inherited from Exception.) | |
StackTrace | (Inherited from Exception.) | |
TargetSite | (Inherited from Exception.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetBaseException | (Inherited from Exception.) | |
GetHashCode | (Inherited from Object.) | |
GetObjectData | (Inherited from Exception.) | |
GetType | (Inherited from Exception.) | |
MemberwiseClone | (Inherited from Object.) | |
SetHelpContext | Sets the help context based on the resource string that is passed. | |
ToString | (Inherited from Exception.) |
Top
Remarks
CollectorException inherits from SqlServerManagementException.
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.