Share via


DtsNotATaskException Class

Definition

The exception that is thrown to specify that an internal error occurred when a managed wrapper is used for a native object that is not of the correct type.

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

Remarks

This error is not useable in a try...catch block.

Properties

ErrorCode

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

(Inherited from DtsException)

Applies to