Partager via


Classe WebserviceTaskException

Contains the definition for exceptions used by the WebServiceTask.

Hiérarchie d'héritage

System.Object
  System.Exception
    Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException

Espace de noms :  Microsoft.SqlServer.Dts.Tasks.WebServiceTask
Assembly :  Microsoft.SqlServer.WebServiceTask (en Microsoft.SqlServer.WebServiceTask.dll)

Syntaxe

'Déclaration
<SerializableAttribute> _
Public Class WebserviceTaskException _
    Inherits Exception
'Utilisation
Dim instance As WebserviceTaskException
[SerializableAttribute]
public class WebserviceTaskException : Exception
[SerializableAttribute]
public ref class WebserviceTaskException : public Exception
[<SerializableAttribute>]
type WebserviceTaskException =  
    class 
        inherit Exception 
    end
public class WebserviceTaskException extends Exception

Le type WebserviceTaskException expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique WebserviceTaskException(String) Initializes a new instance of the WebserviceTaskException class, initializing the error message string.
Méthode publique WebserviceTaskException(SerializationInfo, StreamingContext) Initializes a new instance of the WebserviceTaskException class, initializing the SerializationInfo and StreamingContext.
Méthode publique WebserviceTaskException(String, Int32) Initializes a new instance of the WebserviceTaskException class, intializing the error message and error code.

Haut de la page

Propriétés

  Nom Description
Propriété publique Data (hérité de Exception.)
Propriété publique ErrorCode Gets an error code.
Propriété publique HelpLink (hérité de Exception.)
Propriété publique HResult (hérité de Exception.)
Propriété publique InnerException (hérité de Exception.)
Propriété publique Message (hérité de Exception.)
Propriété publique Source (hérité de Exception.)
Propriété publique StackTrace (hérité de Exception.)
Propriété publique TargetSite (hérité de Exception.)

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetBaseException (hérité de Exception.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetObjectData Sets the SerializationInfo with information about the exception. (remplace Exception.GetObjectData(SerializationInfo, StreamingContext).)
Méthode publique GetType (hérité de Exception.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Exception.)

Haut de la page

Événements

  Nom Description
Événement protégé SerializeObjectState (hérité de Exception.)

Haut de la page

Champs

  Nom Description
Champ publicMembre statique DEFAULT_CODE Specifies the default value of the error code.
Champ publicMembre statique NOTSUPPORTED_CODE Specifies the error code used when the task encounters something that is not supported.

Haut de la page

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.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Dts.Tasks.WebServiceTask