IDTSComponentEvents Interface
Collapse the table of content
Expand the table of content

IDTSComponentEvents Interface


Defines an interface that provides event firing.

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

public interface IDTSComponentEvents


Raises an event when a breakpoint target is hit in the package.

System_CAPS_pubmethodFireCustomEvent(String, String, Object[], String, Boolean)

Occurs when tasks raise custom task-defined events.

System_CAPS_pubmethodFireError(Int32, String, String, String, Int32)

Raises an event when an error occurs.

System_CAPS_pubmethodFireInformation(Int32, String, String, String, Int32, Boolean)

Raises an event containing information.

System_CAPS_pubmethodFireProgress(String, Int32, Int32, Int32, String, Boolean)

Raises an event when measurable progress is made by the executable.


Raises an event to determine whether an executable should stop running.

System_CAPS_pubmethodFireWarning(Int32, String, String, String, Int32)

Raises an event anytime the task is in a state that does not justify an error, but does warrant alerting the client.

The Integration Services runtime includes this event interface that is passed by the runtime to various components that execute within a package, such as tasks, enumerators, and so on. Events are raised by tasks using the IDTSComponentEvents interface that is supplied during execution and by the run-time execution engine.

The Fire<x> methods can be called at design time and during execution. Typically, during component design, the FireError, FireInformation, and FireWarning methods are called to provide user feedback when a component is incorrectly configured. Events that are raised during component design are displayed in the Task Pane. Additionally, components can define custom events and then raise them during execution using the FireCustomEvent method. For more information, see Raising and Defining Events in a Data Flow Component.

Return to top
© 2015 Microsoft