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 | |
|---|---|---|
| .gif) | CollectorException() | Creates an instance of the exception. | 
| .gif) | CollectorException(String) | The error message. | 
| .gif) | CollectorException(SerializationInfo, StreamingContext) | Instantiates an instance of the CollectorException class, passing info and context as parameters. | 
| .gif) | CollectorException(String, Exception) | Creates a collection object and passes the error message and the exception that is causing the error. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | Data | (Inherited from Exception.) | 
| .gif) | HelpLink | Gets the link to the Microsoft SQL Server help web site based on the exception. (Overrides Exception.HelpLink.) | 
| .gif) | HResult | (Inherited from Exception.) | 
| .gif) | InnerException | (Inherited from Exception.) | 
| .gif) | Message | (Inherited from Exception.) | 
| .gif) .gif) | ProdVer | Gets the version of the product. | 
| .gif) | Source | (Inherited from Exception.) | 
| .gif) | StackTrace | (Inherited from Exception.) | 
| .gif) | TargetSite | (Inherited from Exception.) | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Equals | (Inherited from Object.) | 
| .gif) | Finalize | (Inherited from Object.) | 
| .gif) | GetBaseException | (Inherited from Exception.) | 
| .gif) | GetHashCode | (Inherited from Object.) | 
| .gif) | GetObjectData | (Inherited from Exception.) | 
| .gif) | GetType | (Inherited from Exception.) | 
| .gif) | MemberwiseClone | (Inherited from Object.) | 
| .gif) | SetHelpContext | Sets the help context based on the resource string that is passed. | 
| .gif) | 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.