Sdílet prostřednictvím


IDTSEvents Members

Include Protected Members
Include Inherited Members

Defines a set of events used by the TaskHost on behalf of a task.

The IDTSEvents type exposes the following members.

Methods

  Name Description
Public method OnBreakpointHit(IDTSBreakpointSite, BreakpointTarget) Called when a breakpoint is hit within a task.
Public method OnCustomEvent(TaskHost, String, String, array<Object[]%, String, Boolean%) Called by tasks to raise custom task-defined events.
Public method OnError(DtsObject, Int32, String, String, String, Int32, String) Called by a task or container when an error occurs.
Public method OnExecutionStatusChanged(Executable, DTSExecStatus, Boolean%) Called by a task or container when its execution status changes.
Public method OnInformation(DtsObject, Int32, String, String, String, Int32, String, Boolean%) Called any time the task is required to provide information.
Public method OnPostExecute(Executable, Boolean%) Called immediately after the execution logic of the task completes. This event is raised by a task or container immediately after it runs.
Public method OnPostValidate(Executable, Boolean%) Called immediately after the validation logic of the task completes. This event is raised by a task after the task is validated.
Public method OnPreExecute(Executable, Boolean%) Called when a task is about to execute. This event is raised by a task or a container immediately before it runs.
Public method OnPreValidate(Executable, Boolean%) Called when the actual validation logic of the task starts. This event is raised when the validation of the task host or container begins.
Public method OnProgress(TaskHost, String, Int32, Int32, Int32, String, Boolean%) Called to update progress about task execution.
Public method OnQueryCancel() Called at any juncture in task processing where it is feasible to cancel execution. This event is raised by tasks and containers to determine whether they should stop running.
Public method OnTaskFailed(TaskHost) Called by the task host when it fails.
Public method OnVariableValueChanged(DtsContainer, Variable, Boolean%) Called by the run-time engine. It is not called by tasks.
Public method OnWarning(DtsObject, Int32, String, String, String, Int32, String) Called any time the task is in a state that does not justify an error, but does warrant alerting the client.

Top