Classe CollectorException
The CollectorException class is the base class for all data collector exceptions.
Hiérarchie d'héritage
System.Object
System.Exception
Microsoft.SqlServer.Management.Common.SqlServerManagementException
Microsoft.SqlServer.Management.Collector.CollectorException
Espace de noms : Microsoft.SqlServer.Management.Collector
Assembly : Microsoft.SqlServer.Management.Collector (en Microsoft.SqlServer.Management.Collector.dll)
Syntaxe
'Déclaration
<SerializableAttribute> _
Public Class CollectorException _
Inherits SqlServerManagementException
'Utilisation
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
Le type CollectorException expose les membres suivants.
Constructeurs
Nom | 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. |
Haut de la page
Propriétés
Nom | Description | |
---|---|---|
Data | (hérité de Exception.) | |
HelpLink | Gets the link to the Microsoft SQL Server help web site based on the exception. (remplace Exception.HelpLink.) | |
HResult | (hérité de Exception.) | |
InnerException | (hérité de Exception.) | |
Message | (hérité de Exception.) | |
ProdVer | Gets the version of the product. | |
Source | (hérité de Exception.) | |
StackTrace | (hérité de Exception.) | |
TargetSite | (hérité de Exception.) |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
Equals | (hérité de Object.) | |
Finalize | (hérité de Object.) | |
GetBaseException | (hérité de Exception.) | |
GetHashCode | (hérité de Object.) | |
GetObjectData | Informations critiques de sécurité. (hérité de Exception.) | |
GetType | (hérité de Exception.) | |
MemberwiseClone | (hérité de Object.) | |
SetHelpContext | Sets the help context based on the resource string that is passed. | |
ToString | (hérité de Exception.) |
Haut de la page
Événements
Nom | Description | |
---|---|---|
SerializeObjectState | (hérité de Exception.) |
Haut de la page
Notes
CollectorException inherits from SqlServerManagementException.
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.