Throws the InvalidOperationException exception, if an error occured during the package execution. Use GetErrors()()()() to get these errors.

Namespace: SSIS.Test.Dts
Assembly: SSIS.Test (in SSIS.Test.dll) Version: 3.0.0.236 (3.0.0.236)

Syntax

C#
public void ThrowExceptionOnError()
Visual Basic
Public Sub ThrowExceptionOnError
Visual C++
public:
void ThrowExceptionOnError()

See Also