Sdílet prostřednictvím


DtsTaskException Class

Definition

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

public ref class DtsTaskException : Microsoft::SqlServer::Dts::Runtime::DtsException
[System.Serializable]
public class DtsTaskException : Microsoft.SqlServer.Dts.Runtime.DtsException
[<System.Serializable>]
type DtsTaskException = class
    inherit DtsException
Public Class DtsTaskException
Inherits DtsException
Inheritance
DtsTaskException
Attributes

Remarks

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

Constructors

DtsTaskException(COMException)

Initializes a new instance of the DtsTaskException class with specified COM exception.

DtsTaskException(String)

Initializes a new instance of the DtsTaskException class.

Properties

ErrorCode

Gets the error code that creates the appropriate exception class. This field is read-only.

(Inherited from DtsException)

Applies to