Condividi tramite


Classe DtsTaskException

The exception that is thrown when an error occurs in a task.

Gerarchia di ereditarietà

System.Object
  System.Exception
    Microsoft.SqlServer.Dts.Runtime.DtsException
      Microsoft.SqlServer.Dts.Runtime.DtsTaskException

Spazio dei nomi  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Sintassi

'Dichiarazione
<SerializableAttribute> _
Public Class DtsTaskException _
    Inherits DtsException
'Utilizzo
Dim instance As DtsTaskException
[SerializableAttribute]
public class DtsTaskException : DtsException
[SerializableAttribute]
public ref class DtsTaskException : public DtsException
[<SerializableAttribute>]
type DtsTaskException =  
    class 
        inherit DtsException 
    end
public class DtsTaskException extends DtsException

Nel tipo DtsTaskException sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico DtsTaskException(COMException) Initializes a new instance of the DtsTaskException class with specified COM exception.
Metodo pubblico DtsTaskException(String) Initializes a new instance of the DtsTaskException class.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica Data Ereditato da Exception.
Proprietà pubblica ErrorCode Gets the error code that creates the appropriate exception class. This field is read-only. Ereditato da DtsException.
Proprietà pubblica HelpLink Ereditato da Exception.
Proprietà pubblica HResult Ereditato da Exception.
Proprietà pubblica InnerException Ereditato da Exception.
Proprietà pubblica Message Ereditato da Exception.
Proprietà pubblica Source Ereditato da Exception.
Proprietà pubblica StackTrace Ereditato da Exception.
Proprietà pubblica TargetSite Ereditato da Exception.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals Ereditato da Object.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetBaseException Ereditato da Exception.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetObjectData Criticità per la sicurezza. Ereditato da Exception.
Metodo pubblico GetType Ereditato da Exception.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico ToString Ereditato da Exception.

In alto

Eventi

  Nome Descrizione
Evento protetto SerializeObjectState Ereditato da Exception.

In alto

Osservazioni

This class is instantiated by the DtsException class when an error occurs in a component.

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.

Vedere anche

Riferimento

Spazio dei nomi Microsoft.SqlServer.Dts.Runtime