Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

CollectorException Class

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

Namespace:  Microsoft.SqlServer.Management.Collector
Assembly:  Microsoft.SqlServer.Management.Collector (in Microsoft.SqlServer.Management.Collector.dll)
[SerializableAttribute]
public class CollectorException : SqlServerManagementException

The CollectorException type exposes the following members.

  NameDescription
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.
Top
  NameDescription
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.)
Top
  NameDescription
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.)
Top
  NameDescription
Protected eventSerializeObjectState (Inherited from Exception.)
Top

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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.