Export (0) Print
Expand All

CollectorException Class

The CollectorException class is the base class for all data collector exceptions.


Namespace:  Microsoft.SqlServer.Management.Collector
Assembly:  Microsoft.SqlServer.Management.Collector (in Microsoft.SqlServer.Management.Collector.dll)

public class CollectorException : SqlServerManagementException

The CollectorException type exposes the following members.

Public methodCollectorException()Creates an instance of the exception.
Public methodCollectorException(String)The error message.
Public methodCollectorException(SerializationInfo, StreamingContext)Instantiates an instance of the CollectorException class, passing info and context as parameters.
Public methodCollectorException(String, Exception)Creates a collection object and passes the error message and the exception that is causing the error.

Public propertyData (Inherited from Exception.)
Public propertyHelpLinkGets the link to the Microsoft SQL Server help web site based on the exception. (Overrides Exception.HelpLink.)
Public propertyHResult (Inherited from Exception.)
Public propertyInnerException (Inherited from Exception.)
Public propertyMessage (Inherited from Exception.)
Protected propertyStatic memberProdVerGets the version of the product.
Public propertySource (Inherited from Exception.)
Public propertyStackTrace (Inherited from Exception.)
Public propertyTargetSite (Inherited from Exception.)

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetBaseException (Inherited from Exception.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetObjectDataSecurity Critical. (Inherited from Exception.)
Public methodGetType (Inherited from Exception.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodSetHelpContextSets the help context based on the resource string that is passed.
Public methodToString (Inherited from Exception.)

Protected eventSerializeObjectState (Inherited from Exception.)

CollectorException inherits from SqlServerManagementException.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft