Compartir a través de


IDTSEvents Miembros

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

El tipo IDTSEvents expone los siguientes miembros.

Métodos

  Nombre Descripción
Método publico OnBreakpointHit Called when a breakpoint is hit within a task.
Método publico OnCustomEvent Called by tasks to raise custom task-defined events.
Método publico OnError Called by a task or container when an error occurs.
Método publico OnExecutionStatusChanged Called by a task or container when its execution status changes.
Método publico OnInformation Called any time the task is required to provide information.
Método publico OnPostExecute Called immediately after the execution logic of the task completes. This event is raised by a task or container immediately after it runs.
Método publico OnPostValidate Called immediately after the validation logic of the task completes. This event is raised by a task after the task is validated.
Método publico OnPreExecute Called when a task is about to execute. This event is raised by a task or a container immediately before it runs.
Método publico OnPreValidate Called when the actual validation logic of the task starts. This event is raised when the validation of the task host or container begins.
Método publico OnProgress Called to update progress about task execution.
Método publico 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.
Método publico OnTaskFailed Called by the task host when it fails.
Método publico OnVariableValueChanged Called by the run-time engine. It is not called by tasks.
Método publico OnWarning Called any time the task is in a state that does not justify an error, but does warrant alerting the client.

Principio