Export (0) Print
Expand All

DtsTaskException Class

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

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

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

[SerializableAttribute]
public class DtsTaskException : DtsException

The DtsTaskException type exposes the following members.

  NameDescription
Public methodDtsTaskException(COMException)Initializes a new instance of the DtsTaskException class with specified COM exception.
Public methodDtsTaskException(String)Initializes a new instance of the DtsTaskException class.
Top

  NameDescription
Public propertyData (Inherited from Exception.)
Public propertyErrorCodeGets the error code that creates the appropriate exception class. This field is read-only. (Inherited from DtsException.)
Public propertyHelpLink (Inherited from Exception.)
Public propertyHResult (Inherited from Exception.)
Public propertyInnerException (Inherited from Exception.)
Public propertyMessage (Inherited from Exception.)
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.)
Public methodToString (Inherited from Exception.)
Top

  NameDescription
Protected eventSerializeObjectState (Inherited from Exception.)
Top

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft